]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_ETHBASE to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:03:49 +0000 (10:03 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:08:35 +0000 (10:08 -0500)
Perform a simple rename of CONFIG_ETHBASE to CFG_ETHBASE

Signed-off-by: Tom Rini <trini@konsulko.com>
board/cadence/xtfpga/xtfpga.c
include/configs/xtfpga.h

index f38f5564a06ceadee9c2fab9bbeaabc4cc316d3b..8e4081b4c6dd1edc7a3f432321119efdea2c8c91 100644 (file)
@@ -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);
index e0189c58f0427a03d06a34574cceace82e0dd8b9..83a0539d8f2db8052ade2c6c5151c82d8b8b71f7 100644 (file)
 /* 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)