]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/freescale/m5329evb/mii.c
rename CFG_ macros to CONFIG_SYS
[karo-tx-uboot.git] / board / freescale / m5329evb / mii.c
index 8f6abf3eebe37f5341314c5bb12bae238b75d6ba..c0f58179651286910a4cd801b225854be013ce78 100644 (file)
@@ -50,7 +50,7 @@ int fecpin_setclear(struct eth_device *dev, int setclear)
        return 0;
 }
 
-#if defined(CFG_DISCOVER_PHY) || defined(CONFIG_CMD_MII)
+#if defined(CONFIG_SYS_DISCOVER_PHY) || defined(CONFIG_CMD_MII)
 #include <miiphy.h>
 
 /* Make MII read/write commands for the FEC. */
@@ -134,9 +134,9 @@ uint mii_send(uint mii_cmd)
 
        return (mii_reply & 0xffff);    /* data read from phy */
 }
-#endif                         /* CFG_DISCOVER_PHY || CONFIG_CMD_MII */
+#endif                         /* CONFIG_SYS_DISCOVER_PHY || CONFIG_CMD_MII */
 
-#if defined(CFG_DISCOVER_PHY)
+#if defined(CONFIG_SYS_DISCOVER_PHY)
 int mii_discover_phy(struct eth_device *dev)
 {
 #define MAX_PHY_PASSES 11
@@ -201,7 +201,7 @@ int mii_discover_phy(struct eth_device *dev)
 
        return phyaddr;
 }
-#endif                         /* CFG_DISCOVER_PHY */
+#endif                         /* CONFIG_SYS_DISCOVER_PHY */
 
 void mii_init(void) __attribute__((weak,alias("__mii_init")));