imx: Convert some boards to DM_ETH
[platform/kernel/u-boot.git] / board / boundary / nitrogen6x / nitrogen6x.c
index b3b121b..8566c22 100644 (file)
@@ -9,6 +9,7 @@
 #include <env.h>
 #include <init.h>
 #include <net.h>
+#include <asm/global_data.h>
 #include <asm/io.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/imx-regs.h>
@@ -321,7 +322,7 @@ int board_phy_config(struct phy_device *phydev)
        return 0;
 }
 
-int board_eth_init(bd_t *bis)
+int board_eth_init(struct bd_info *bis)
 {
        uint32_t base = IMX_FEC_BASE;
        struct mii_dev *bus = NULL;
@@ -355,10 +356,6 @@ int board_eth_init(bd_t *bis)
                goto free_phydev;
 #endif
 
-#ifdef CONFIG_CI_UDC
-       /* For otg ethernet*/
-       usb_eth_initialize(bis);
-#endif
        return 0;
 
 free_phydev: