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 |
Trevor Woerner | abec6dc | 2021-06-10 22:37:04 -0400 | [diff] [blame] | 17 | #define CONFIG_BOARD_SIZE_LIMIT 0x000fffff /* maximum allowable size for full U-Boot binary */ |
| 18 | |
| 19 | /* |
| 20 | * RAM |
| 21 | */ |
Trevor Woerner | abec6dc | 2021-06-10 22:37:04 -0400 | [diff] [blame] | 22 | #define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE |
| 23 | |
| 24 | /* |
| 25 | * cmd |
| 26 | */ |
Trevor Woerner | abec6dc | 2021-06-10 22:37:04 -0400 | [diff] [blame] | 27 | #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 |