projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename CFG_ macros to CONFIG_SYS
[platform/kernel/u-boot.git]
/
board
/
freescale
/
m5272c3
/
mii.c
diff --git
a/board/freescale/m5272c3/mii.c
b/board/freescale/m5272c3/mii.c
index
b30ba80
..
161c694
100644
(file)
--- a/
board/freescale/m5272c3/mii.c
+++ b/
board/freescale/m5272c3/mii.c
@@
-45,7
+45,7
@@
int fecpin_setclear(struct eth_device *dev, int setclear)
return 0;
}
return 0;
}
-#if defined(C
FG
_DISCOVER_PHY) || defined(CONFIG_CMD_MII)
+#if defined(C
ONFIG_SYS
_DISCOVER_PHY) || defined(CONFIG_CMD_MII)
#include <miiphy.h>
/* Make MII read/write commands for the FEC. */
#include <miiphy.h>
/* Make MII read/write commands for the FEC. */
@@
-131,9
+131,9
@@
uint mii_send(uint mii_cmd)
return (mii_reply & 0xffff); /* data read from phy */
}
return (mii_reply & 0xffff); /* data read from phy */
}
-#endif /* C
FG
_DISCOVER_PHY || CONFIG_CMD_MII */
+#endif /* C
ONFIG_SYS
_DISCOVER_PHY || CONFIG_CMD_MII */
-#if defined(C
FG
_DISCOVER_PHY)
+#if defined(C
ONFIG_SYS
_DISCOVER_PHY)
int mii_discover_phy(struct eth_device *dev)
{
#define MAX_PHY_PASSES 11
int mii_discover_phy(struct eth_device *dev)
{
#define MAX_PHY_PASSES 11
@@
-198,7
+198,7
@@
int mii_discover_phy(struct eth_device *dev)
return phyaddr;
}
return phyaddr;
}
-#endif /* C
FG
_DISCOVER_PHY */
+#endif /* C
ONFIG_SYS
_DISCOVER_PHY */
void mii_init(void) __attribute__((weak,alias("__mii_init")));
void mii_init(void) __attribute__((weak,alias("__mii_init")));