projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2ca59
)
dm: eth: Do not print misleading "Net Initialization Skipped"
author
Bin Meng
<bmeng.cn@gmail.com>
Fri, 28 Aug 2015 05:25:52 +0000
(22:25 -0700)
committer
Simon Glass
<sjg@chromium.org>
Wed, 9 Sep 2015 13:48:03 +0000
(07:48 -0600)
With driver model, board_eth_init() or cpu_eth_init() is not a must.
Thus we don't need print a misleading "Net Initialization Skipped".
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/eth.c
patch
|
blob
|
history
diff --git
a/net/eth.c
b/net/eth.c
index d3ec8d64d596d3a8e51336617b8de0032c87812b..c46a8c30500130bff53f4766d15724500c94bfdb 100644
(file)
--- a/
net/eth.c
+++ b/
net/eth.c
@@
-107,7
+107,9
@@
static void eth_common_init(void)
if (cpu_eth_init(gd->bd) < 0)
printf("CPU Net Initialization Failed\n");
} else {
+#ifndef CONFIG_DM_ETH
printf("Net Initialization Skipped\n");
+#endif
}
}