board/freescale: add the DM_ETH changes for the PPC DPAA platforms
[platform/kernel/u-boot.git] / board / freescale / t208xrdb / t208xrdb.c
index d03d48b..5ba1682 100644 (file)
@@ -6,7 +6,10 @@
 #include <common.h>
 #include <command.h>
 #include <env.h>
+#include <fdt_support.h>
 #include <i2c.h>
+#include <image.h>
+#include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
 #include <asm/mmu.h>
@@ -131,7 +134,9 @@ int ft_board_setup(void *blob, bd_t *bd)
        fsl_fdt_fixup_dr_usb(blob, bd);
 
 #ifdef CONFIG_SYS_DPAA_FMAN
+#ifndef CONFIG_DM_ETH
        fdt_fixup_fman_ethernet(blob);
+#endif
        fdt_fixup_board_enet(blob);
 #endif