summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-07-24 14:12:12 +0300
committerTom Rini <trini@konsulko.com>2020-08-06 14:26:35 -0400
commit9a17bfb6420bb5de1781b37b5a423f41aab29000 (patch)
tree8a2916853e2ef5aaf67546431f21c09b5b91e02a
parent9f63f02755f4cbdb8ee39d8da605d2f643aae220 (diff)
downloadu-boot-9a17bfb6420bb5de1781b37b5a423f41aab29000.tar.gz
u-boot-9a17bfb6420bb5de1781b37b5a423f41aab29000.tar.xz
u-boot-9a17bfb6420bb5de1781b37b5a423f41aab29000.zip
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>
-rw-r--r--Kconfig2
-rw-r--r--include/configs/devkit8000.h3
-rw-r--r--include/configs/tricorder.h3
-rw-r--r--scripts/config_whitelist.txt1
4 files changed, 2 insertions, 7 deletions
diff --git a/Kconfig b/Kconfig
index 583d39d1a3..372425ed52 100644
--- 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
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 4a28712833..87da4410f5 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 b3ae350b77..55f25857eb 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 0d526cf045..82f8f12e20 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -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