summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6dqscm.h4
-rw-r--r--include/configs/mx6sabre_common.h4
-rw-r--r--include/configs/mx6slevk.h4
-rw-r--r--include/configs/mx6sx_arm2.h4
-rw-r--r--include/configs/mx6sxsabreauto.h8
-rw-r--r--include/configs/mx6sxsabresd.h8
-rw-r--r--include/configs/mx6ul_14x14_ddr3_arm2.h8
-rw-r--r--include/configs/mx6ul_14x14_evk.h8
-rw-r--r--include/configs/mx6ul_14x14_lpddr2_arm2.h8
-rw-r--r--include/configs/mx6ull_ddr3_arm2.h8
-rw-r--r--include/configs/mx6ullevk.h8
-rw-r--r--include/configs/mx7d_12x12_lpddr3_arm2.h4
-rw-r--r--include/configs/mx7d_19x19_ddr3_arm2.h4
-rw-r--r--include/configs/mx7d_19x19_lpddr3_arm2.h4
-rw-r--r--include/configs/mx7dsabresd.h8
15 files changed, 92 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
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index d55371d..9c8582c 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -25,7 +25,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
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 5d9539b..1b5ea02 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -52,7 +52,11 @@
#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC"
+#endif
#define CONFIG_FEC_MXC_PHYADDR 0
#define CONFIG_PHYLIB
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
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h
index 4ed6385..294e099 100644
--- a/include/configs/mx6sxsabreauto.h
+++ b/include/configs/mx6sxsabreauto.h
@@ -233,12 +233,20 @@
#if (CONFIG_FEC_ENET_DEV == 0)
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x0
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_FEC_XCV_TYPE RGMII
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 02785b7..0d7ee3b 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -216,12 +216,20 @@
#if (CONFIG_FEC_ENET_DEV == 0)
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x2
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_FEC_XCV_TYPE RGMII
diff --git a/include/configs/mx6ul_14x14_ddr3_arm2.h b/include/configs/mx6ul_14x14_ddr3_arm2.h
index 025371a..6a84f2e 100644
--- a/include/configs/mx6ul_14x14_ddr3_arm2.h
+++ b/include/configs/mx6ul_14x14_ddr3_arm2.h
@@ -46,13 +46,21 @@
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x2
#define CONFIG_FEC_XCV_TYPE MII100
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index ccd13ea..63306c1 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -299,13 +299,21 @@
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x2
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
diff --git a/include/configs/mx6ul_14x14_lpddr2_arm2.h b/include/configs/mx6ul_14x14_lpddr2_arm2.h
index c932eb2..a3ac215 100644
--- a/include/configs/mx6ul_14x14_lpddr2_arm2.h
+++ b/include/configs/mx6ul_14x14_lpddr2_arm2.h
@@ -57,13 +57,21 @@
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x2
#define CONFIG_FEC_XCV_TYPE MII100
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
diff --git a/include/configs/mx6ull_ddr3_arm2.h b/include/configs/mx6ull_ddr3_arm2.h
index 5455fb5..ae85f5b 100644
--- a/include/configs/mx6ull_ddr3_arm2.h
+++ b/include/configs/mx6ull_ddr3_arm2.h
@@ -61,13 +61,21 @@
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x2
#define CONFIG_FEC_XCV_TYPE MII100
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
diff --git a/include/configs/mx6ullevk.h b/include/configs/mx6ullevk.h
index 92fbac3..d9f03dd 100644
--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -298,13 +298,21 @@
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x2
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
#define CONFIG_FEC_XCV_TYPE RMII
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
diff --git a/include/configs/mx7d_12x12_lpddr3_arm2.h b/include/configs/mx7d_12x12_lpddr3_arm2.h
index 305a50d..5e3adda 100644
--- a/include/configs/mx7d_12x12_lpddr3_arm2.h
+++ b/include/configs/mx7d_12x12_lpddr3_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 1
#define CONFIG_PHYLIB
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
diff --git a/include/configs/mx7d_19x19_lpddr3_arm2.h b/include/configs/mx7d_19x19_lpddr3_arm2.h
index 0319015..1a83520 100644
--- a/include/configs/mx7d_19x19_lpddr3_arm2.h
+++ b/include/configs/mx7d_19x19_lpddr3_arm2.h
@@ -23,7 +23,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
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 55415e4..9f06878 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -32,12 +32,20 @@
#if (CONFIG_FEC_ENET_DEV == 0)
#define IMX_FEC_BASE ENET_IPS_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x0
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth0"
+#else
#define CONFIG_ETHPRIME "FEC0"
+#endif
#elif (CONFIG_FEC_ENET_DEV == 1)
#define IMX_FEC_BASE ENET2_IPS_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
+#ifdef CONFIG_DM_ETH
+#define CONFIG_ETHPRIME "eth1"
+#else
#define CONFIG_ETHPRIME "FEC1"
#endif
+#endif
#define CONFIG_FEC_MXC_MDIO_BASE ENET_IPS_BASE_ADDR
#endif