X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=include%2Fconfigs%2Ftx28.h;h=3877461bb5c2ec409d1ceff4fc24d5e8653c74a0;hp=5976ef8558ef25fc34dd975bd383d8f5c28d87f4;hb=23a3382f25e518d2ca10bae4cec08ca82524cdf0;hpb=c640f5efd9e497938adf72f7635a72abb09bb611 diff --git a/include/configs/tx28.h b/include/configs/tx28.h index 5976ef8558..3877461bb5 100644 --- a/include/configs/tx28.h +++ b/include/configs/tx28.h @@ -254,8 +254,12 @@ ",512k@" xstr(CONFIG_SYS_NAND_BBT_OFFSET) "(bbt)ro" #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - /* Fix this */ \ +#ifndef CONFIG_SPL_BUILD +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x1000 - \ GENERATED_GBL_DATA_SIZE) +#else +#define CONFIG_SYS_INIT_SP_ADDR CONFIG_SPL_STACK +#endif /* Defines for SPL */ #define CONFIG_SPL_START_S_PATH "arch/arm/cpu/arm926ejs/mxs" @@ -268,5 +272,6 @@ #define CONFIG_SYS_SPL_BATT_BO_LEVEL 2400 #define CONFIG_SYS_SPL_VDDA_BO_VAL 100 #define CONFIG_SYS_SPL_VDDMEM_VAL 0 /* VDDMEM is not utilized on TX28 */ +#define CONFIG_SPL_STACK 0x1fffc /* End of OCRAM */ #endif /* __CONFIG_H */