board: ls1088ardb: transition to DM_ETH
[oweals/u-boot.git] / board / freescale / ls1088a / eth_ls1088ardb.c
index 01f56db0a1bfc664048eb33b8c813e090e2eeef5..f56ce7d9ae8ea70ee028976ed15f55a51f859431 100644 (file)
@@ -18,6 +18,7 @@
 #include <fsl-mc/fsl_mc.h>
 #include <fsl-mc/ldpaa_wriop.h>
 
+#ifndef CONFIG_DM_ETH
 int board_eth_init(bd_t *bis)
 {
 #if defined(CONFIG_FSL_MC_ENET)
@@ -95,6 +96,7 @@ int board_eth_init(bd_t *bis)
 
        return pci_eth_init(bis);
 }
+#endif
 
 #if defined(CONFIG_RESET_PHY_R)
 void reset_phy(void)