aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ea-lpc3250devkitv2.h
blob: 2ca0e9d990f4c761e02944c52fde7bb9d1f0a414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Embedded Artists LPC3250 DevKit v2
 * Copyright (C) 2021  Trevor Woerner <twoerner@gmail.com>
 */

#ifndef __CONFIG_EA_LPC3250DEVKITV2_H__
#define __CONFIG_EA_LPC3250DEVKITV2_H__

#include <linux/sizes.h>
#include <asm/arch/cpu.h>

/*
 * SoC and board defines
 */
#define CONFIG_MACH_TYPE MACH_TYPE_LPC3XXX
#define CONFIG_BOARD_SIZE_LIMIT 0x000fffff /* maximum allowable size for full U-Boot binary */

/*
 * RAM
 */
#define CONFIG_SYS_MALLOC_LEN SZ_4M
#define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE

/*
 * cmd
 */
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_4K - GENERATED_GBL_DATA_SIZE)

/*
 * SoC-specific config
 */
#include <asm/arch/config.h>

#endif