[PoC 019/241] global: Migrate CONFIG_ET1100_BASE to CFG

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


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

diff --git a/board/esd/meesc/meesc.c b/board/esd/meesc/meesc.c
index 21f4ba98b531..9e3621042241 100644
--- a/board/esd/meesc/meesc.c
+++ b/board/esd/meesc/meesc.c
@@ -163,7 +163,7 @@ int checkboard(void)
 	u_char hw_type;	/* hardware type */
 
 	/* read the "Type" register of the ET1100 controller */
-	hw_type = readb(CONFIG_ET1100_BASE);
+	hw_type = readb(CFG_ET1100_BASE);
 
 	switch (hw_type) {
 	case 0x11:
diff --git a/include/configs/meesc.h b/include/configs/meesc.h
index d190e4b50392..38da55c70bfe 100644
--- a/include/configs/meesc.h
+++ b/include/configs/meesc.h
@@ -60,6 +60,6 @@
 #endif
 
 /* hw-controller addresses */
-#define CONFIG_ET1100_BASE		0x70000000
+#define CFG_ET1100_BASE		0x70000000
 
 #endif
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 27923ec86bf5..81353fa94e7c 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -19,7 +19,7 @@ CFG_ENV_SETTINGS_V1
 CFG_ENV_SETTINGS_V2
 CFG_ENV_SROM_BANK
 CFG_ENV_TOTAL_SIZE
-CONFIG_ET1100_BASE
+CFG_ET1100_BASE
 CONFIG_ETHBASE
 CONFIG_EXTRA_ENV_SETTINGS
 CONFIG_FB_ADDR
-- 
2.25.1



More information about the U-Boot mailing list