mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-20 22:21:41 +00:00
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>
This commit is contained in:
parent
af2ca59e63
commit
d8f79afa03
1 changed files with 2 additions and 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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue