imx: Convert some boards to DM_ETH
[platform/kernel/u-boot.git] / board / boundary / nitrogen6x / nitrogen6x.c
index 5b2d675..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>
@@ -355,10 +356,6 @@ int board_eth_init(struct bd_info *bis)
                goto free_phydev;
 #endif
 
-#ifdef CONFIG_CI_UDC
-       /* For otg ethernet*/
-       usb_eth_initialize(bis);
-#endif
        return 0;
 
 free_phydev: