Trevor Woerner | abec6dc | 2021-06-10 22:37:04 -0400 | [diff] [blame] | 1 | /* 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 |
| 17 | #define CONFIG_SKIP_LOWLEVEL_INIT |
| 18 | #define CONFIG_BOARD_SIZE_LIMIT 0x000fffff /* maximum allowable size for full U-Boot binary */ |
| 19 | |
| 20 | /* |
| 21 | * RAM |
| 22 | */ |
| 23 | #define CONFIG_SYS_MALLOC_LEN SZ_4M |
| 24 | #define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE |
| 25 | |
| 26 | /* |
| 27 | * cmd |
| 28 | */ |
| 29 | #define CONFIG_SYS_LOAD_ADDR 0x80100000 |
| 30 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_4K - GENERATED_GBL_DATA_SIZE) |
| 31 | |
| 32 | /* |
| 33 | * SoC-specific config |
| 34 | */ |
| 35 | #include <asm/arch/config.h> |
| 36 | |
| 37 | #endif |