summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:03:48 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:08:35 -0500
commitb9abcb8c9fc196ef502eb8b2909bbb92a109deab (patch)
tree9146910229a51db39fa0e6046f5da6dd3c52a197
parentef2e1745da9151083c197d6077d0a14498eec13b (diff)
downloadu-boot-b9abcb8c9fc196ef502eb8b2909bbb92a109deab.tar.gz
u-boot-b9abcb8c9fc196ef502eb8b2909bbb92a109deab.tar.bz2
u-boot-b9abcb8c9fc196ef502eb8b2909bbb92a109deab.zip
global: Migrate CONFIG_ET1100_BASE to CFG
Perform a simple rename of CONFIG_ET1100_BASE to CFG_ET1100_BASE Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--board/esd/meesc/meesc.c2
-rw-r--r--include/configs/meesc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/meesc/meesc.c b/board/esd/meesc/meesc.c
index 21f4ba98b5..9e36210422 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 d190e4b503..38da55c70b 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