phy_init();
#endif
+#ifndef CONFIG_DM_ETH
/*
* If board-specific initialization exists, call it.
* If not, call a CPU-specific one
if (cpu_eth_init(gd->bd) < 0)
printf("CPU Net Initialization Failed\n");
} else {
-#ifndef CONFIG_DM_ETH
printf("Net Initialization Skipped\n");
-#endif
}
+#endif
}
#ifdef CONFIG_DM_ETH