From: Bin Meng Date: Fri, 28 Aug 2015 05:25:52 +0000 (-0700) Subject: dm: eth: Do not print misleading "Net Initialization Skipped" X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d8f79afa030a19e12b8effcae0e8247e271da60e;p=u-boot.git 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 Acked-by: Joe Hershberger --- diff --git a/net/eth.c b/net/eth.c index d3ec8d64d5..c46a8c3050 100644 --- 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 } }