1
0
Fork 0

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>
utp
Bin Meng 2015-08-27 22:25:52 -07:00 committed by Simon Glass
parent af2ca59e63
commit d8f79afa03
1 changed files with 2 additions and 0 deletions

View File

@ -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
}
}