Kconfig: Remove CONFIG_SYS_SRAM_START
authorOvidiu Panait <ovidiu.panait@windriver.com>
Fri, 24 Jul 2020 11:12:12 +0000 (14:12 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 6 Aug 2020 18:26:35 +0000 (14:26 -0400)
Remove ad-hoc CONFIG_SYS_SRAM_START and use CONFIG_SYS_SRAM_BASE instead.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Kconfig
include/configs/devkit8000.h
include/configs/tricorder.h
scripts/config_whitelist.txt

diff --git a/Kconfig b/Kconfig
index 583d39d1a3a4d99129c140ae3e29cea04585c1af..372425ed529fc2d400cbb20dc66e5f9369253fd5 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -393,6 +393,8 @@ config SYS_HAS_SRAM
 config SYS_SRAM_BASE
        hex
        default 0x80000000 if TARGET_PIC32MZDASK
+       default 0x40200000 if TARGET_DEVKIT8000
+       default 0x40200000 if TARGET_TRICORDER
        default 0x0
 
 config SYS_SRAM_SIZE
index 4a287128334649031ae76eae5a43151978f61dcd..87da4410f5b17e95062dabd56bdfd3485f31d81f 100644 (file)
 
 /* Boot Argument Buffer Size */
 
-/* SRAM config */
-#define CONFIG_SYS_SRAM_START              0x40200000
-
 /* Defines for SPL */
 
 /* NAND boot config */
index b3ae350b776598e37863672e49fb01ccc9593f4f..55f25857eb3d5657af2a3e17de2315721c81a901 100644 (file)
                                                CONFIG_SYS_INIT_RAM_SIZE - \
                                                GENERATED_GBL_DATA_SIZE)
 
-/* SRAM config */
-#define CONFIG_SYS_SRAM_START          0x40200000
-
 /* Defines for SPL */
 
 #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME        "u-boot.img"
index 0d526cf04551eed52c34a64efed70796fa636c8c..82f8f12e20b4743f89f08c2a54729e5fe335361f 100644 (file)
@@ -3715,7 +3715,6 @@ CONFIG_SYS_SPL_LEN
 CONFIG_SYS_SPL_MALLOC_SIZE
 CONFIG_SYS_SPL_MALLOC_START
 CONFIG_SYS_SPR
-CONFIG_SYS_SRAM_START
 CONFIG_SYS_SRIO
 CONFIG_SYS_SRIO1_MEM_BASE
 CONFIG_SYS_SRIO1_MEM_BUS