diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-08-27 22:25:52 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-09-09 07:48:03 -0600 |
commit | d8f79afa030a19e12b8effcae0e8247e271da60e (patch) | |
tree | 33fbad717f9f26a0787de939340aacfd5e4c16ec | |
parent | af2ca59e6352ba86b9cf8d8a5b96f7df6cecb044 (diff) | |
download | u-boot-imx-d8f79afa030a19e12b8effcae0e8247e271da60e.zip u-boot-imx-d8f79afa030a19e12b8effcae0e8247e271da60e.tar.gz u-boot-imx-d8f79afa030a19e12b8effcae0e8247e271da60e.tar.bz2 |
dm: eth: Do not print misleading "Net Initialization Skipped"
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>
-rw-r--r-- | net/eth.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } } |