Message ID | 20200710101907.11214-4-ovidiu.panait@windriver.com |
---|---|
State | New |
Headers | show |
Series | [v2,01/14] Kconfig: Introduce CONFIG_SYS_HAS_SRAM | expand |
On Fri, 10 Jul 2020 at 04:23, Ovidiu Panait <ovidiu.panait at windriver.com> wrote: > > Remove ad-hoc CONFIG_SYS_SRAM_START and use CONFIG_SYS_SRAM_BASE instead. > > Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com> > --- > > Kconfig | 2 ++ > include/configs/devkit8000.h | 3 --- > include/configs/tricorder.h | 3 --- > scripts/config_whitelist.txt | 1 - > 4 files changed, 2 insertions(+), 7 deletions(-) Reviewed-by: Simon Glass <sjg at chromium.org>
diff --git a/Kconfig b/Kconfig index 8bafdff932..11665268d8 100644 --- a/Kconfig +++ b/Kconfig @@ -364,6 +364,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 cdf7d7aa21..b4f649a958 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/devkit8000.h @@ -138,9 +138,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 d438a7e635..8ffa39f92f 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -200,9 +200,6 @@ CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) -/* SRAM config */ -#define CONFIG_SYS_SRAM_START 0x40200000 - /* Defines for SPL */ #define CONFIG_SPL_NAND_BASE diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 7a2ff835f8..b8f1b12056 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -3798,7 +3798,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
Remove ad-hoc CONFIG_SYS_SRAM_START and use CONFIG_SYS_SRAM_BASE instead. Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com> --- Kconfig | 2 ++ include/configs/devkit8000.h | 3 --- include/configs/tricorder.h | 3 --- scripts/config_whitelist.txt | 1 - 4 files changed, 2 insertions(+), 7 deletions(-)