summaryrefslogtreecommitdiff
path: root/include/configs/mx7d_19x19_ddr3_arm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/mx7d_19x19_ddr3_arm2.h')
-rw-r--r--include/configs/mx7d_19x19_ddr3_arm2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx7d_19x19_ddr3_arm2.h b/include/configs/mx7d_19x19_ddr3_arm2.h
index 2c516ed..e5bdf56 100644
--- a/include/configs/mx7d_19x19_ddr3_arm2.h
+++ b/include/configs/mx7d_19x19_ddr3_arm2.h
@@ -19,7 +19,11 @@
#define CONFIG_FEC_MXC
#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RGMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC"
+#endif
#define CONFIG_FEC_MXC_PHYADDR 0
#define CONFIG_PHYLIB