Kconfig: Remove CONFIG_SYS_SRAM_START
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>
diff --git a/Kconfig b/Kconfig
index 583d39d..372425e 100644
--- a/Kconfig
+++ b/Kconfig
@@ -393,6 +393,8 @@
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
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 4a28712..87da441 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -137,9 +137,6 @@
/* Boot Argument Buffer Size */
-/* SRAM config */
-#define CONFIG_SYS_SRAM_START 0x40200000
-
/* Defines for SPL */
/* NAND boot config */
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index b3ae350..55f2585 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -197,9 +197,6 @@
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"
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 0d526cf..82f8f12 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -3715,7 +3715,6 @@
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