diff options
author | Tom Rini <trini@konsulko.com> | 2022-05-24 20:11:41 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-06 19:09:12 +0300 |
commit | 85758d8aa1337fdba794e235df7ecf5d2118f05e (patch) | |
tree | 470c4a5bdc6fb81c414113112e8259eabbe6342f /include/configs/sama5d4_xplained.h | |
parent | 3b2979eefaeb46d2f978e13c33bb88ec0e7ee09a (diff) | |
download | u-boot-85758d8aa1337fdba794e235df7ecf5d2118f05e.tar.xz |
arm: Use CONFIG_SPL_STACK or CONFIG_SYS_INIT_SP_ADDR directly.
In some cases, we define CONFIG_SYS_INIT_SP_ADDR differently for SPL or
full U-Boot. This case should be making use of CONFIG_SPL_STACK, as
that's what that variable is for. In a few other cases we define
CONFIG_SPL_STACK directly to CONFIG_SYS_INIT_SP_ADDR, but do not need to
as the code handles this correctly, normally.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/sama5d4_xplained.h')
-rw-r--r-- | include/configs/sama5d4_xplained.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h index 7421320345..2839a12061 100644 --- a/include/configs/sama5d4_xplained.h +++ b/include/configs/sama5d4_xplained.h @@ -15,12 +15,9 @@ #define CONFIG_SYS_SDRAM_BASE 0x20000000 #define CONFIG_SYS_SDRAM_SIZE 0x20000000 -#ifdef CONFIG_SPL_BUILD -#define CONFIG_SYS_INIT_SP_ADDR 0x218000 -#else +#define CONFIG_SPL_STACK 0x218000 #define CONFIG_SYS_INIT_SP_ADDR \ (CONFIG_SYS_SDRAM_BASE + 16 * 1024 - GENERATED_GBL_DATA_SIZE) -#endif /* NAND flash */ #ifdef CONFIG_CMD_NAND |