From: Ovidiu Panait Date: Fri, 24 Jul 2020 11:12:12 +0000 (+0300) Subject: Kconfig: Remove CONFIG_SYS_SRAM_START X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=9a17bfb6420bb5de1781b37b5a423f41aab29000;p=u-boot.git Kconfig: Remove CONFIG_SYS_SRAM_START Remove ad-hoc CONFIG_SYS_SRAM_START and use CONFIG_SYS_SRAM_BASE instead. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- 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