[PoC 160/241] global: Migrate CONFIG_RAMBOOT_SPIFLASH to CFG

Tom Rini
2022-11-20T14:14:45Z

include/configs/P1010RDB.h | 2 +-
scripts/config_whitelist.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index a75e1b8f7a8a..1fa0b38ae201 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -24,7 +24,7 @@

#ifdef CONFIG_SPIFLASH
#ifdef CONFIG_NXP_ESBC
-#define CONFIG_RAMBOOT_SPIFLASH
+#define CFG_RAMBOOT_SPIFLASH
#define CONFIG_RESET_VECTOR_ADDRESS 0x110bfffc
#else
#define CFG_SYS_SPI_FLASH_U_BOOT_SIZE (512 << 10)
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 2a06cc5d3041..083352a88bb8 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -169,7 +169,7 @@ CFG_PPC_SPINTABLE_COMPATIBLE
CFG_PRAM
CFG_PSRAM_SCFG
CFG_QBMAN_CLK_DIV
-CONFIG_RAMBOOT_SPIFLASH
+CFG_RAMBOOT_SPIFLASH
CONFIG_RAMBOOT_TEXT_BASE
CONFIG_RAMDISK_ADDR
CONFIG_RD_LVL
--
2.25.1