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