Skip to content
Snippets Groups Projects
Commit d8f79afa authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

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: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent af2ca59e
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,9 @@ static void eth_common_init(void) ...@@ -107,7 +107,9 @@ static void eth_common_init(void)
if (cpu_eth_init(gd->bd) < 0) if (cpu_eth_init(gd->bd) < 0)
printf("CPU Net Initialization Failed\n"); printf("CPU Net Initialization Failed\n");
} else { } else {
#ifndef CONFIG_DM_ETH
printf("Net Initialization Skipped\n"); printf("Net Initialization Skipped\n");
#endif
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment