aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ti_armv7_keystone2.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-19 15:09:22 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:10 -0400
commit9b5f9aeb3b48dbc059272168635a397ea5096a31 (patch)
tree9f3fc638f4e7a06729799b4fc4cf29bd3618baa1 /include/configs/ti_armv7_keystone2.h
parentca8a329a1b7f3195ee56fee4c0906ee883383dfa (diff)
downloadu-boot-9b5f9aeb3b48dbc059272168635a397ea5096a31.zip
u-boot-9b5f9aeb3b48dbc059272168635a397ea5096a31.tar.gz
u-boot-9b5f9aeb3b48dbc059272168635a397ea5096a31.tar.bz2
Convert CONFIG_SPL_BSS_MAX_SIZE et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_BSS_MAX_SIZE CONFIG_SPL_MAX_FOOTPRINT Note that the da850evm platforms were violating the "only use one" rule here, and so now hard-code their BSS limit. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/ti_armv7_keystone2.h')
-rw-r--r--include/configs/ti_armv7_keystone2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index 564af6d..1302377 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -29,7 +29,6 @@
/* SPL SPI Loader Configuration */
#define CONFIG_SPL_BSS_START_ADDR (CONFIG_ISW_ENTRY_ADDR + \
CONFIG_SPL_MAX_SIZE)
-#define CONFIG_SPL_BSS_MAX_SIZE (32 * 1024)
#define CONFIG_SYS_SPL_MALLOC_START (CONFIG_SPL_BSS_START_ADDR + \
CONFIG_SPL_BSS_MAX_SIZE)
#define CONFIG_SYS_SPL_MALLOC_SIZE (32 * 1024)
@@ -40,7 +39,7 @@
KEYSTONE_SPL_STACK_SIZE - 4)
/* SRAM scratch space entries */
-#define SRAM_SCRATCH_SPACE_ADDR CONFIG_SPL_STACK + 0x8
+#define SRAM_SCRATCH_SPACE_ADDR 0xc0c23fc
#define TI_SRAM_SCRATCH_BOARD_EEPROM_START (SRAM_SCRATCH_SPACE_ADDR)
#define TI_SRAM_SCRATCH_BOARD_EEPROM_END (SRAM_SCRATCH_SPACE_ADDR + 0x200)