[PoC 030/241] global: Migrate CONFIG_FLASH_SECTOR_SIZE to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 14:30:21 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 include/configs/ax25-ae350.h | 2 +-
 scripts/config_whitelist.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/ax25-ae350.h b/include/configs/ax25-ae350.h
index b743066ea7c3..6661f2d173ce 100644
--- a/include/configs/ax25-ae350.h
+++ b/include/configs/ax25-ae350.h
@@ -50,7 +50,7 @@
 #define CFG_SYS_FLASH_BANKS_SIZES {0x4000000}
 
 /* max number of sectors on one chip */
-#define CONFIG_FLASH_SECTOR_SIZE	(0x10000*2)
+#define CFG_FLASH_SECTOR_SIZE	(0x10000*2)
 
 /* environments */
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index ae4cb04023ad..89f47538d4c7 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -30,7 +30,7 @@ CFG_FEC_FIXED_SPEED
 CFG_FEC_MXC_PHYADDR
 CFG_FLASH_BR_PRELIM
 CFG_FLASH_OR_PRELIM
-CONFIG_FLASH_SECTOR_SIZE
+CFG_FLASH_SECTOR_SIZE
 CONFIG_FLASH_SHOW_PROGRESS
 CONFIG_FLASH_SPANSION_S29WS_N
 CONFIG_FLASH_VERIFY
-- 
2.25.1



More information about the U-Boot mailing list