blob: 857cf487b348fc3dbe2575236f6d03e8b243143b [file] [log] [blame]
Trevor Woernerabec6dc2021-06-10 22:37:04 -04001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Embedded Artists LPC3250 DevKit v2
4 * Copyright (C) 2021 Trevor Woerner <twoerner@gmail.com>
5 */
6
7#ifndef __CONFIG_EA_LPC3250DEVKITV2_H__
8#define __CONFIG_EA_LPC3250DEVKITV2_H__
9
10#include <linux/sizes.h>
11#include <asm/arch/cpu.h>
12
13/*
14 * SoC and board defines
15 */
16#define CONFIG_MACH_TYPE MACH_TYPE_LPC3XXX
Trevor Woernerabec6dc2021-06-10 22:37:04 -040017#define CONFIG_BOARD_SIZE_LIMIT 0x000fffff /* maximum allowable size for full U-Boot binary */
18
19/*
20 * RAM
21 */
Trevor Woernerabec6dc2021-06-10 22:37:04 -040022#define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE
23
24/*
25 * cmd
26 */
Trevor Woernerabec6dc2021-06-10 22:37:04 -040027#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_4K - GENERATED_GBL_DATA_SIZE)
28
29/*
30 * SoC-specific config
31 */
32#include <asm/arch/config.h>
33
34#endif