]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
global: Migrate CONFIG_PHY_ID to CFG
authorTom Rini <trini@konsulko.com>
Sun, 4 Dec 2022 15:13:28 +0000 (10:13 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 23 Dec 2022 15:14:51 +0000 (10:14 -0500)
Perform a simple rename of CONFIG_PHY_ID to CFG_PHY_ID

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

index ceb0d2cf0aa3b794dccc3c085790a9e2fcf0de33..9953df017e1906d461f2bbafb39197960406277e 100644 (file)
@@ -160,7 +160,7 @@ int board_eth_init(struct bd_info *bis)
        /* Set peripheral pins. */
        at91_macb_hw_init();
        /* Basic EMAC initialization. */
-       if (macb_eth_initialize(0, (void *)ATMEL_BASE_EMAC0, CONFIG_PHY_ID))
+       if (macb_eth_initialize(0, (void *)ATMEL_BASE_EMAC0, CFG_PHY_ID))
                return -1;
        /*
         * Early board revisions have a pull-down at the PHY's MODE0
index 3fd58d6bd4a7af36f6fa21b6d1336bb7c3bdb0a3..182369def910c1a530060f9acf3de927e15876e5 100644 (file)
@@ -48,7 +48,7 @@
 /* JFFS2 */
 
 /* Ethernet */
-#define CONFIG_PHY_ID                  0
+#define CFG_PHY_ID                     0
 
 /* MMC */
 #ifdef CONFIG_CMD_MMC