[PoC 028/241] global: Migrate CONFIG_FLASH_BR_PRELIM to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 14:30:19 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
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 88182fde972b..54687d3ada4e 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -193,7 +193,7 @@
#define CFG_SYS_FLASH_BASE_PHYS CFG_SYS_FLASH_BASE
#endif
-#define CONFIG_FLASH_BR_PRELIM (BR_PHYS_ADDR(CFG_SYS_FLASH_BASE_PHYS) \
+#define CFG_FLASH_BR_PRELIM (BR_PHYS_ADDR(CFG_SYS_FLASH_BASE_PHYS) \
| BR_PS_16 | BR_V)
#define CONFIG_FLASH_OR_PRELIM 0xfc000ff7
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 901914ac043c..0767c66a79ff 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -28,7 +28,7 @@ CFG_FDTFILE
CFG_FEC_ENET_DEV
CFG_FEC_FIXED_SPEED
CFG_FEC_MXC_PHYADDR
-CONFIG_FLASH_BR_PRELIM
+CFG_FLASH_BR_PRELIM
CONFIG_FLASH_OR_PRELIM
CONFIG_FLASH_SECTOR_SIZE
CONFIG_FLASH_SHOW_PROGRESS
--
2.25.1
More information about the U-Boot
mailing list