[PoC 029/241] global: Migrate CONFIG_FLASH_OR_PRELIM to CFG

Tom Rini
2022-11-20T13:39:27Z

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

diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index 54687d3ada4e..de7c0d61c05f 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -196,7 +196,7 @@
#define CFG_FLASH_BR_PRELIM (BR_PHYS_ADDR(CFG_SYS_FLASH_BASE_PHYS) \
| BR_PS_16 | BR_V)

-#define CONFIG_FLASH_OR_PRELIM 0xfc000ff7
+#define CFG_FLASH_OR_PRELIM 0xfc000ff7

#define CFG_SYS_FLASH_BANKS_LIST {CFG_SYS_FLASH_BASE_PHYS}
#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 0767c66a79ff..ae4cb04023ad 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -29,7 +29,7 @@ CFG_FEC_ENET_DEV
CFG_FEC_FIXED_SPEED
CFG_FEC_MXC_PHYADDR
CFG_FLASH_BR_PRELIM
-CONFIG_FLASH_OR_PRELIM
+CFG_FLASH_OR_PRELIM
CONFIG_FLASH_SECTOR_SIZE
CONFIG_FLASH_SHOW_PROGRESS
CONFIG_FLASH_SPANSION_S29WS_N
--
2.25.1