summaryrefslogtreecommitdiff
path: root/include/configs/mx6dqscm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/mx6dqscm.h')
-rw-r--r--include/configs/mx6dqscm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx6dqscm.h b/include/configs/mx6dqscm.h
index ec215d7..3172ee6 100644
--- a/include/configs/mx6dqscm.h
+++ b/include/configs/mx6dqscm.h
@@ -24,7 +24,11 @@
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#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 3
#define CONFIG_PHYLIB