summaryrefslogtreecommitdiff
path: root/include/configs/mx6sx_arm2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/mx6sx_arm2.h')
-rw-r--r--include/configs/mx6sx_arm2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx6sx_arm2.h b/include/configs/mx6sx_arm2.h
index 2ed83a1..973d356 100644
--- a/include/configs/mx6sx_arm2.h
+++ b/include/configs/mx6sx_arm2.h
@@ -31,7 +31,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 1
#define CONFIG_PHYLIB