[PATCH 023/149] global: Migrate CONFIG_ET1100_BASE to CFG

Tom Rini trini at konsulko.com
Sun Dec 4 16:03:48 CET 2022


Perform a simple rename of CONFIG_ET1100_BASE to CFG_ET1100_BASE

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 board/esd/meesc/meesc.c | 2 +-
 include/configs/meesc.h | 2 +-
 2 files changed, 2 insertions(+), 2 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
-- 
2.25.1



More information about the U-Boot mailing list