aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 10:03:49 -0500
committerTom Rini <trini@konsulko.com>2022-12-23 10:08:35 -0500
commitfb55ac2cfe017b5f83d97f25e3ed2ceaa9946405 (patch)
tree5772f4947c00c261472ac86dea1e3e27c8998958 /board
parentb9abcb8c9fc196ef502eb8b2909bbb92a109deab (diff)
downloadu-boot-fb55ac2cfe017b5f83d97f25e3ed2ceaa9946405.zip
u-boot-fb55ac2cfe017b5f83d97f25e3ed2ceaa9946405.tar.gz
u-boot-fb55ac2cfe017b5f83d97f25e3ed2ceaa9946405.tar.bz2
global: Migrate CONFIG_ETHBASE to CFG
Perform a simple rename of CONFIG_ETHBASE to CFG_ETHBASE Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r--board/cadence/xtfpga/xtfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cadence/xtfpga/xtfpga.c b/board/cadence/xtfpga/xtfpga.c
index f38f556..8e4081b 100644
--- a/board/cadence/xtfpga/xtfpga.c
+++ b/board/cadence/xtfpga/xtfpga.c
@@ -89,7 +89,7 @@ int misc_init_r(void)
char *s = env_get("ethaddr");
if (s == 0) {
unsigned int x;
- char s[] = __stringify(CONFIG_ETHBASE);
+ char s[] = __stringify(CFG_ETHBASE);
x = (*(volatile u32 *)CFG_SYS_FPGAREG_DIPSW)
& FPGAREG_MAC_MASK;
sprintf(&s[15], "%02x", x);