diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-04 18:03:49 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-23 18:08:35 +0300 |
commit | fb55ac2cfe017b5f83d97f25e3ed2ceaa9946405 (patch) | |
tree | 5772f4947c00c261472ac86dea1e3e27c8998958 | |
parent | b9abcb8c9fc196ef502eb8b2909bbb92a109deab (diff) | |
download | u-boot-fb55ac2cfe017b5f83d97f25e3ed2ceaa9946405.tar.xz |
global: Migrate CONFIG_ETHBASE to CFG
Perform a simple rename of CONFIG_ETHBASE to CFG_ETHBASE
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | board/cadence/xtfpga/xtfpga.c | 2 | ||||
-rw-r--r-- | include/configs/xtfpga.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/board/cadence/xtfpga/xtfpga.c b/board/cadence/xtfpga/xtfpga.c index f38f5564a0..8e4081b4c6 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); diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h index e0189c58f0..83a0539d8f 100644 --- a/include/configs/xtfpga.h +++ b/include/configs/xtfpga.h @@ -120,7 +120,7 @@ /* Ethernet Driver Info */ /*======================*/ -#define CONFIG_ETHBASE 00:50:C2:13:6f:00 +#define CFG_ETHBASE 00:50:C2:13:6f:00 #define CFG_SYS_ETHOC_BASE IOADDR(0x0d030000) #define CFG_SYS_ETHOC_BUFFER_ADDR IOADDR(0x0D800000) |