]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/tx48.h
am33xx: karo: calculate CONFIG_SPL_MAX_SIZE from SRAM_SCRATCH_SPACE_ADDR
[karo-tx-uboot.git] / include / configs / tx48.h
index 70eeb0d105ee91fc0f975cc4fdb937444cf93b0c..98eb48460853f6bd0e6bf9b41ea4fa550524094e 100644 (file)
 #define CONFIG_SPL
 #define CONFIG_SPL_FRAMEWORK
 #define CONFIG_SPL_BOARD_INIT
-#define CONFIG_SPL_MAX_SIZE            (46 * SZ_1K)
+#define CONFIG_SPL_MAX_SIZE            (SRAM_SCRATCH_SPACE_ADDR - CONFIG_SPL_TEXT_BASE)
 #define CONFIG_SPL_GPIO_SUPPORT
 #ifdef CONFIG_NAND_OMAP_GPMC
 #define CONFIG_SPL_NAND_SUPPORT