projects
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: execute "miiphy_init" if CONFIG_PHYLIB defined
[u-boot.git]
/
net
/
eth.c
diff --git
a/net/eth.c
b/net/eth.c
index c96e767e8e22b8beef592deaee91cca983ef64e6..32bd10c8290a6e2af662b566d8d64405a2c5efe1 100644
(file)
--- a/
net/eth.c
+++ b/
net/eth.c
@@
-279,7
+279,7
@@
int eth_initialize(bd_t *bis)
eth_current = NULL;
bootstage_mark(BOOTSTAGE_ID_NET_ETH_START);
-#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
+#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
|| defined(CONFIG_PHYLIB)
miiphy_init();
#endif