summaryrefslogtreecommitdiff
path: root/include/configs/tricorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/tricorder.h')
-rw-r--r--include/configs/tricorder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index ae0e89c..e5d321a 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -338,7 +338,8 @@
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
#define CONFIG_SPL_TEXT_BASE 0x40200000 /*CONFIG_SYS_SRAM_START*/
-#define CONFIG_SPL_MAX_SIZE (57 * 1024) /* 7 KB for stack */
+#define CONFIG_SPL_MAX_SIZE (SRAM_SCRATCH_SPACE_ADDR - \
+ CONFIG_SPL_TEXT_BASE)
#define CONFIG_SPL_BSS_START_ADDR 0x80000000 /*CONFIG_SYS_SDRAM_BASE*/
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000