aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorAdam Ford2018-07-20 23:03:57 -0500
committerTom Rini2018-08-17 13:03:54 -0400
commitd7869b2183d2b786e5410b97a5a6b2e630e7825e (patch)
treef16ed84bc9e0167a72b2eb6332f809c8ea64b9c0 /include/configs
parent4adc6605a941bde217abcaf2d86eeb2bd7de6a77 (diff)
Convert CONFIG_MII et al to Kconfig
This converts the following to Kconfig: CONFIG_MII CONFIG_DRIVER_TI_EMAC Signed-off-by: Adam Ford <aford173@gmail.com> Acked-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/B4860QDS.h1
-rw-r--r--include/configs/BSC9131RDB.h1
-rw-r--r--include/configs/BSC9132QDS.h1
-rw-r--r--include/configs/C29XPCIE.h1
-rw-r--r--include/configs/M5208EVBE.h1
-rw-r--r--include/configs/M5235EVB.h1
-rw-r--r--include/configs/M5272C3.h1
-rw-r--r--include/configs/M5275EVB.h1
-rw-r--r--include/configs/M5282EVB.h1
-rw-r--r--include/configs/M53017EVB.h1
-rw-r--r--include/configs/M5329EVB.h1
-rw-r--r--include/configs/M5373EVB.h1
-rw-r--r--include/configs/M54418TWR.h1
-rw-r--r--include/configs/M54451EVB.h1
-rw-r--r--include/configs/M54455EVB.h1
-rw-r--r--include/configs/M5475EVB.h1
-rw-r--r--include/configs/M5485EVB.h1
-rw-r--r--include/configs/MPC8308RDB.h1
-rw-r--r--include/configs/MPC8315ERDB.h1
-rw-r--r--include/configs/MPC8349ITX.h3
-rw-r--r--include/configs/MPC837XEMDS.h1
-rw-r--r--include/configs/MPC8536DS.h1
-rw-r--r--include/configs/MPC8540ADS.h1
-rw-r--r--include/configs/MPC8541CDS.h1
-rw-r--r--include/configs/MPC8544DS.h1
-rw-r--r--include/configs/MPC8548CDS.h1
-rw-r--r--include/configs/MPC8555CDS.h1
-rw-r--r--include/configs/MPC8560ADS.h7
-rw-r--r--include/configs/MPC8568MDS.h1
-rw-r--r--include/configs/MPC8572DS.h1
-rw-r--r--include/configs/MPC8641HPCN.h3
-rw-r--r--include/configs/P1010RDB.h1
-rw-r--r--include/configs/P1022DS.h1
-rw-r--r--include/configs/P1023RDB.h1
-rw-r--r--include/configs/P2041RDB.h1
-rw-r--r--include/configs/SBx81LIFKW.h1
-rw-r--r--include/configs/SBx81LIFXCAT.h1
-rw-r--r--include/configs/T102xQDS.h1
-rw-r--r--include/configs/T102xRDB.h1
-rw-r--r--include/configs/T1040QDS.h1
-rw-r--r--include/configs/T104xRDB.h1
-rw-r--r--include/configs/T208xQDS.h1
-rw-r--r--include/configs/T208xRDB.h1
-rw-r--r--include/configs/T4240QDS.h1
-rw-r--r--include/configs/T4240RDB.h2
-rw-r--r--include/configs/TQM834x.h1
-rw-r--r--include/configs/UCP1020.h1
-rw-r--r--include/configs/advantech_dms-ba16.h1
-rw-r--r--include/configs/am335x_shc.h1
-rw-r--r--include/configs/am3517_evm.h2
-rw-r--r--include/configs/am43xx_evm.h1
-rw-r--r--include/configs/am57xx_evm.h1
-rw-r--r--include/configs/apalis_imx6.h1
-rw-r--r--include/configs/apf27.h1
-rw-r--r--include/configs/aristainetos-common.h1
-rw-r--r--include/configs/at91rm9200ek.h1
-rw-r--r--include/configs/axs10x.h1
-rw-r--r--include/configs/baltos.h1
-rw-r--r--include/configs/calimain.h2
-rw-r--r--include/configs/cgtqmx6eval.h1
-rw-r--r--include/configs/cl-som-am57x.h1
-rw-r--r--include/configs/cl-som-imx7.h1
-rw-r--r--include/configs/cm_fx6.h1
-rw-r--r--include/configs/cm_t3517.h2
-rw-r--r--include/configs/cm_t43.h1
-rw-r--r--include/configs/cobra5272.h1
-rw-r--r--include/configs/colibri-imx6ull.h1
-rw-r--r--include/configs/colibri_imx6.h1
-rw-r--r--include/configs/colibri_imx7.h1
-rw-r--r--include/configs/colibri_vf.h1
-rw-r--r--include/configs/controlcenterd.h1
-rw-r--r--include/configs/corenet_ds.h1
-rw-r--r--include/configs/cyrus.h1
-rw-r--r--include/configs/da850evm.h2
-rw-r--r--include/configs/dh_imx6.h1
-rw-r--r--include/configs/display5.h1
-rw-r--r--include/configs/dra7xx_evm.h1
-rw-r--r--include/configs/draco.h1
-rw-r--r--include/configs/ea20.h2
-rw-r--r--include/configs/eb_cpu5282.h1
-rw-r--r--include/configs/edb93xx.h1
-rw-r--r--include/configs/edminiv2.h1
-rw-r--r--include/configs/embestmx6boards.h1
-rw-r--r--include/configs/etamin.h1
-rw-r--r--include/configs/flea3.h2
-rw-r--r--include/configs/ge_bx50v3.h1
-rw-r--r--include/configs/gplugd.h1
-rw-r--r--include/configs/gw_ventana.h1
-rw-r--r--include/configs/hrcon.h1
-rw-r--r--include/configs/hsdk.h1
-rw-r--r--include/configs/ids8313.h1
-rw-r--r--include/configs/imx27lite-common.h1
-rw-r--r--include/configs/imx6-engicam.h2
-rw-r--r--include/configs/imx6_logic.h1
-rw-r--r--include/configs/imx6dl-mamoj.h1
-rw-r--r--include/configs/ipam390.h1
-rw-r--r--include/configs/km/km_arm.h1
-rw-r--r--include/configs/kp_imx53.h1
-rw-r--r--include/configs/kp_imx6q_tpc.h1
-rw-r--r--include/configs/liteboard.h1
-rw-r--r--include/configs/ls1021aiot.h1
-rw-r--r--include/configs/ls1021aqds.h1
-rw-r--r--include/configs/ls1021atwr.h1
-rw-r--r--include/configs/ls1088aqds.h1
-rw-r--r--include/configs/ls1088ardb.h1
-rw-r--r--include/configs/ls2080aqds.h1
-rw-r--r--include/configs/ls2080ardb.h1
-rw-r--r--include/configs/mccmon6.h1
-rw-r--r--include/configs/mcx.h2
-rw-r--r--include/configs/microblaze-generic.h3
-rw-r--r--include/configs/mpc8308_p1m.h1
-rw-r--r--include/configs/mx25pdk.h1
-rw-r--r--include/configs/mx35pdk.h2
-rw-r--r--include/configs/mx51evk.h1
-rw-r--r--include/configs/mx53ard.h1
-rw-r--r--include/configs/mx53cx9020.h1
-rw-r--r--include/configs/mx53evk.h1
-rw-r--r--include/configs/mx53loco.h1
-rw-r--r--include/configs/mx53ppd.h1
-rw-r--r--include/configs/mx53smd.h1
-rw-r--r--include/configs/mx6cuboxi.h1
-rw-r--r--include/configs/mx6qarm2.h1
-rw-r--r--include/configs/mx6sabre_common.h1
-rw-r--r--include/configs/mx6slevk.h1
-rw-r--r--include/configs/mx6sxsabreauto.h1
-rw-r--r--include/configs/mx6sxsabresd.h1
-rw-r--r--include/configs/mx6ul_14x14_evk.h1
-rw-r--r--include/configs/mx7dsabresd.h1
-rw-r--r--include/configs/mxs.h1
-rw-r--r--include/configs/nitrogen6x.h1
-rw-r--r--include/configs/novena.h1
-rw-r--r--include/configs/omapl138_lcdk.h2
-rw-r--r--include/configs/opos6uldev.h1
-rw-r--r--include/configs/ot1200.h1
-rw-r--r--include/configs/p1_p2_rdb_pc.h1
-rw-r--r--include/configs/p1_twr.h1
-rw-r--r--include/configs/pcm052.h1
-rw-r--r--include/configs/pcm058.h1
-rw-r--r--include/configs/pfla02.h1
-rw-r--r--include/configs/pic32mzdask.h1
-rw-r--r--include/configs/pico-imx6ul.h1
-rw-r--r--include/configs/pico-imx7d.h1
-rw-r--r--include/configs/platinum.h1
-rw-r--r--include/configs/rastaban.h1
-rw-r--r--include/configs/s32v234evb.h1
-rw-r--r--include/configs/sbc8548.h1
-rw-r--r--include/configs/sbc8641d.h3
-rw-r--r--include/configs/secomx6quq7.h1
-rw-r--r--include/configs/siemens-am33x-common.h1
-rw-r--r--include/configs/sksimx6.h1
-rw-r--r--include/configs/socfpga_common.h1
-rw-r--r--include/configs/socfpga_stratix10_socdk.h1
-rw-r--r--include/configs/socrates.h1
-rw-r--r--include/configs/spear-common.h1
-rw-r--r--include/configs/stm32f746-disco.h1
-rw-r--r--include/configs/strider.h1
-rw-r--r--include/configs/stv0991.h1
-rw-r--r--include/configs/sunxi-common.h4
-rw-r--r--include/configs/t4qds.h1
-rw-r--r--include/configs/tam3517-common.h2
-rw-r--r--include/configs/tbs2910.h1
-rw-r--r--include/configs/thuban.h1
-rw-r--r--include/configs/ti814x_evm.h1
-rw-r--r--include/configs/ti816x_evm.h2
-rw-r--r--include/configs/ti_am335x_common.h1
-rw-r--r--include/configs/ti_armv7_keystone2.h1
-rw-r--r--include/configs/titanium.h1
-rw-r--r--include/configs/tqma6.h1
-rw-r--r--include/configs/ts4800.h1
-rw-r--r--include/configs/udoo.h1
-rw-r--r--include/configs/udoo_neo.h1
-rw-r--r--include/configs/vf610twr.h1
-rw-r--r--include/configs/vining_2000.h1
-rw-r--r--include/configs/wandboard.h1
-rw-r--r--include/configs/woodburn_common.h1
-rw-r--r--include/configs/x600.h1
-rw-r--r--include/configs/xilinx_zynqmp.h1
-rw-r--r--include/configs/xpedite517x.h1
-rw-r--r--include/configs/xpedite520x.h1
-rw-r--r--include/configs/xpedite537x.h1
-rw-r--r--include/configs/xpedite550x.h1
-rw-r--r--include/configs/xpress.h1
-rw-r--r--include/configs/zc5202.h1
-rw-r--r--include/configs/zc5601.h1
-rw-r--r--include/configs/zmx25.h1
-rw-r--r--include/configs/zynq-common.h1
186 files changed, 0 insertions, 216 deletions
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 9dd560edcb3..ed59d246092 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -663,7 +663,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_FM1_DTSEC3_RISER_PHY_ADDR 0x1e
#define CONFIG_SYS_FM1_DTSEC4_RISER_PHY_ADDR 0x1f
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index 93366d10486..e6cbcf86c6c 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -234,7 +234,6 @@ extern unsigned long get_sdram_size(void);
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index c5c199e6c2d..d5f069aa72d 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -422,7 +422,6 @@ combinations. this should be removed later
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index 4de25a3d065..177110428b8 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -363,7 +363,6 @@
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
#ifdef CONFIG_TSEC_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/M5208EVBE.h b/include/configs/M5208EVBE.h
index 116df265fd7..a548af687d5 100644
--- a/include/configs/M5208EVBE.h
+++ b/include/configs/M5208EVBE.h
@@ -21,7 +21,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h
index 2099f6809bd..92d4c227417 100644
--- a/include/configs/M5235EVB.h
+++ b/include/configs/M5235EVB.h
@@ -31,7 +31,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M5272C3.h b/include/configs/M5272C3.h
index 86d5cfce9de..bd5e57c8f09 100644
--- a/include/configs/M5272C3.h
+++ b/include/configs/M5272C3.h
@@ -52,7 +52,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M5275EVB.h b/include/configs/M5275EVB.h
index 2569cdf0b23..57bc1cf77cd 100644
--- a/include/configs/M5275EVB.h
+++ b/include/configs/M5275EVB.h
@@ -50,7 +50,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-#define CONFIG_MII 1
#define CONFIG_MII_INIT 1
#define CONFIG_SYS_DISCOVER_PHY
#define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h
index 76bd05df1df..2ce9b11af7d 100644
--- a/include/configs/M5282EVB.h
+++ b/include/configs/M5282EVB.h
@@ -44,7 +44,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M53017EVB.h b/include/configs/M53017EVB.h
index d4fb1e5146e..dee7913fe24 100644
--- a/include/configs/M53017EVB.h
+++ b/include/configs/M53017EVB.h
@@ -28,7 +28,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index c0e42a35959..228471cbac1 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -28,7 +28,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index 93789b32578..274f4db3eff 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -28,7 +28,6 @@
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h
index a9d456c50b5..0d829b4e74c 100644
--- a/include/configs/M54418TWR.h
+++ b/include/configs/M54418TWR.h
@@ -48,7 +48,6 @@
/* Network configuration */
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-#define CONFIG_MII 1
#define CONFIG_MII_INIT 1
#define CONFIG_SYS_DISCOVER_PHY
#define CONFIG_SYS_RX_ETH_BUFFER 2
diff --git a/include/configs/M54451EVB.h b/include/configs/M54451EVB.h
index 5c6dcd3f69d..5bd1d4f240e 100644
--- a/include/configs/M54451EVB.h
+++ b/include/configs/M54451EVB.h
@@ -36,7 +36,6 @@
/* Network configuration */
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M54455EVB.h b/include/configs/M54455EVB.h
index 28009cd86b1..2de51d91a37 100644
--- a/include/configs/M54455EVB.h
+++ b/include/configs/M54455EVB.h
@@ -36,7 +36,6 @@
/* Network configuration */
#define CONFIG_MCFFEC
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/M5475EVB.h b/include/configs/M5475EVB.h
index 4ad3849582f..0c42b854383 100644
--- a/include/configs/M5475EVB.h
+++ b/include/configs/M5475EVB.h
@@ -28,7 +28,6 @@
#define CONFIG_FSLDMAFEC
#ifdef CONFIG_FSLDMAFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_HAS_ETH1
diff --git a/include/configs/M5485EVB.h b/include/configs/M5485EVB.h
index 2eb96be1d24..b4069db36cd 100644
--- a/include/configs/M5485EVB.h
+++ b/include/configs/M5485EVB.h
@@ -28,7 +28,6 @@
#define CONFIG_FSLDMAFEC
#ifdef CONFIG_FSLDMAFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_HAS_ETH1
diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h
index 34fbe0d91ac..13e37716665 100644
--- a/include/configs/MPC8308RDB.h
+++ b/include/configs/MPC8308RDB.h
@@ -371,7 +371,6 @@
/*
* TSEC ethernet configuration
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2_NAME "eTSEC1"
#define TSEC1_PHY_ADDR 2
diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h
index e61cf64f65d..9de37447592 100644
--- a/include/configs/MPC8315ERDB.h
+++ b/include/configs/MPC8315ERDB.h
@@ -369,7 +369,6 @@
/*
* TSEC ethernet configuration
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 7dc03771786..8366ebe9f94 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -408,9 +408,6 @@ boards, we say we have two, but don't display a message if we find only one. */
/* TSEC */
#ifdef CONFIG_TSEC_ENET
-
-#define CONFIG_MII
-
#define CONFIG_TSEC1
#ifdef CONFIG_TSEC1
diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h
index c7d10f7e9ae..3fdf34669fb 100644
--- a/include/configs/MPC837XEMDS.h
+++ b/include/configs/MPC837XEMDS.h
@@ -389,7 +389,6 @@ extern int board_pci_host_broken(void);
/*
* TSEC ethernet configuration
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index 7265598164d..3625dfe3f61 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -510,7 +510,6 @@
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index 6fdab33487b..b4178b11e0a 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -258,7 +258,6 @@
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "TSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 3daa4f916b3..1201f468a0e 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -298,7 +298,6 @@ extern unsigned long get_clock_freq(void);
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "TSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index 7973f3ceaef..2568e952709 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -287,7 +287,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index 2aa3b4df15f..a62d4f7eee7 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -396,7 +396,6 @@ extern unsigned long get_clock_freq(void);
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index c708e924ad0..f45270f9c40 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -296,7 +296,6 @@ extern unsigned long get_clock_freq(void);
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "TSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index cea24d1484c..724575ac595 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -253,9 +253,6 @@
#ifdef CONFIG_TSEC_ENET
-#ifndef CONFIG_MII
-#define CONFIG_MII 1 /* MII PHY management */
-#endif
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "TSEC0"
#define CONFIG_TSEC2 1
@@ -294,10 +291,6 @@
#define FETH3_RST 0x80
#endif /* CONFIG_ETHER_INDEX */
-#ifndef CONFIG_MII
-#define CONFIG_MII 1 /* MII PHY management */
-#endif
-
#define CONFIG_BITBANGMII /* bit-bang MII PHY management */
/*
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index 21735e5e52a..219cda936ad 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -308,7 +308,6 @@ extern unsigned long get_clock_freq(void);
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index a5b3db31514..8c92c3f8325 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -471,7 +471,6 @@
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 489f599086f..68bc710b027 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -379,9 +379,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#endif /* CONFIG_PCI */
#if defined(CONFIG_TSEC_ENET)
-
-#define CONFIG_MII 1 /* MII PHY management */
-
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2 1
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 6024cce1af8..70d12959ea8 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -581,7 +581,6 @@ extern unsigned long get_sdram_size(void);
#endif
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 3110cb1ce4b..f9e230885c1 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -488,7 +488,6 @@
#define CONFIG_TSECV2
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2 1
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index b69d5212527..82794529062 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -302,7 +302,6 @@ extern unsigned long get_clock_freq(void);
#define CONFIG_SYS_FM1_DTSEC2_PHY_ADDR 0x2
#define CONFIG_SYS_TBIPA_VALUE 8
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 82ee37616e1..ee2015be675 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -542,7 +542,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_FM1_10GEC1_PHY_ADDR 0
#define CONFIG_SYS_TBIPA_VALUE 8
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/SBx81LIFKW.h b/include/configs/SBx81LIFKW.h
index 667fd43ea80..32353de0b82 100644
--- a/include/configs/SBx81LIFKW.h
+++ b/include/configs/SBx81LIFKW.h
@@ -101,7 +101,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_NETCONSOLE /* include NetConsole support */
#define CONFIG_NET_MULTI /* specify more that one ports available */
-#define CONFIG_MII /* expose smi over miiphy interface */
#define CONFIG_MVGBE /* Enable kirkwood Gbe Controller Driver */
#define CONFIG_MVGBE_PORTS {1, 0} /* enable a single port */
#define CONFIG_PHY_BASE_ADR 0x01
diff --git a/include/configs/SBx81LIFXCAT.h b/include/configs/SBx81LIFXCAT.h
index 105967c3f70..43a287ccd30 100644
--- a/include/configs/SBx81LIFXCAT.h
+++ b/include/configs/SBx81LIFXCAT.h
@@ -101,7 +101,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_NETCONSOLE /* include NetConsole support */
#define CONFIG_NET_MULTI /* specify more that one ports available */
-#define CONFIG_MII /* expose smi over miiphy interface */
#define CONFIG_MVGBE /* Enable kirkwood Gbe Controller Driver */
#define CONFIG_MVGBE_PORTS {1, 0} /* enable a single port */
#define CONFIG_PHY_BASE_ADR 0x01
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index d88c9678dd3..341fe24698e 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -721,7 +721,6 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC4"
#endif
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index 27948ba3b64..a6047e885af 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -737,7 +737,6 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC4"
#endif
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 7ab6b2f47ee..5cd8d5998d2 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -601,7 +601,6 @@ unsigned long get_board_ddr_clk(void);
#define CONFIG_SYS_FM1_DTSEC3_RISER_PHY_ADDR 0x1e
#define CONFIG_SYS_FM1_DTSEC4_RISER_PHY_ADDR 0x1f
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 71eb8e0535d..0867589db68 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -732,7 +732,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
#endif
#endif
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC4"
#endif
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 68ce7aa7ad3..e24d5cfed54 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -654,7 +654,6 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC3"
#endif
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index 90043eed5ac..a14d81f3c86 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -606,7 +606,6 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC3"
#endif
diff --git a/include/configs/T4240QDS.h b/include/configs/T4240QDS.h
index 804d41bea99..f85881fc3c6 100644
--- a/include/configs/T4240QDS.h
+++ b/include/configs/T4240QDS.h
@@ -475,7 +475,6 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 4abe5540801..677600e9085 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -238,7 +238,6 @@
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
@@ -626,7 +625,6 @@ unsigned long get_board_ddr_clk(void);
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index 1cf37ef11b7..fc1fa0c089d 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -181,7 +181,6 @@
/*
* TSEC
*/
-#define CONFIG_MII
#define CONFIG_SYS_TSEC1_OFFSET 0x24000
#define CONFIG_SYS_TSEC1 (CONFIG_SYS_IMMR + CONFIG_SYS_TSEC1_OFFSET)
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index ab69c45bae4..7bdc14e5120 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -442,7 +442,6 @@
#define CONFIG_BOOTP_SERVERIP
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2_NAME "eTSEC2"
#define CONFIG_TSEC3_NAME "eTSEC3"
diff --git a/include/configs/advantech_dms-ba16.h b/include/configs/advantech_dms-ba16.h
index 294ad39116c..0c9de6125d9 100644
--- a/include/configs/advantech_dms-ba16.h
+++ b/include/configs/advantech_dms-ba16.h
@@ -56,7 +56,6 @@
/* Networking Configs */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/am335x_shc.h b/include/configs/am335x_shc.h
index ca6580f2978..6368872e5b5 100644
--- a/include/configs/am335x_shc.h
+++ b/include/configs/am335x_shc.h
@@ -247,7 +247,6 @@
#undef CONFIG_TIMER
#endif
-#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 8e63cdaa5f0..312e0ab1882 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -54,9 +54,7 @@
/* I2C */
/* Ethernet */
-#define CONFIG_DRIVER_TI_EMAC
#define CONFIG_DRIVER_TI_EMAC_USE_RMII
-#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h
index a8560619bc4..9d0d3424786 100644
--- a/include/configs/am43xx_evm.h
+++ b/include/configs/am43xx_evm.h
@@ -211,7 +211,6 @@
#ifndef CONFIG_SPL_BUILD
/* CPSW Ethernet */
-#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index b2f042e3dfd..d61fdf9f7a3 100644
--- a/include/configs/am57xx_evm.h
+++ b/include/configs/am57xx_evm.h
@@ -50,7 +50,6 @@
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
-#define CONFIG_MII /* Required in net/eth.c */
#define PHY_ANEG_TIMEOUT 8000 /* PHY needs longer aneg time at 1G */
#define CONFIG_SUPPORT_EMMC_BOOT
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index fa95c8222c2..f69c24d6a2b 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -67,7 +67,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/apf27.h b/include/configs/apf27.h
index 018410f5cc6..1cee2fa2920 100644
--- a/include/configs/apf27.h
+++ b/include/configs/apf27.h
@@ -189,7 +189,6 @@
*/
#define CONFIG_FEC_MXC
#define CONFIG_FEC_MXC_PHYADDR 0x1f
-#define CONFIG_MII /* MII PHY management */
/*
* FPGA
diff --git a/include/configs/aristainetos-common.h b/include/configs/aristainetos-common.h
index 7e3a93d6b9d..baddd1c330c 100644
--- a/include/configs/aristainetos-common.h
+++ b/include/configs/aristainetos-common.h
@@ -26,7 +26,6 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/at91rm9200ek.h b/include/configs/at91rm9200ek.h
index ee44255b20c..d9bb1fc52c6 100644
--- a/include/configs/at91rm9200ek.h
+++ b/include/configs/at91rm9200ek.h
@@ -114,7 +114,6 @@
#define CONFIG_DRIVER_AT91EMAC
#define CONFIG_SYS_RX_ETH_BUFFER 16
#define CONFIG_RMII
-#define CONFIG_MII
/*
* NOR Flash
diff --git a/include/configs/axs10x.h b/include/configs/axs10x.h
index f78e1573b6c..1b2966fd612 100644
--- a/include/configs/axs10x.h
+++ b/include/configs/axs10x.h
@@ -53,7 +53,6 @@
/*
* Ethernet PHY configuration
*/
-#define CONFIG_MII
/*
* USB 1.1 configuration
diff --git a/include/configs/baltos.h b/include/configs/baltos.h
index a5737708b79..006b049d09d 100644
--- a/include/configs/baltos.h
+++ b/include/configs/baltos.h
@@ -266,7 +266,6 @@
/* Network. */
#define CONFIG_PHY_SMSC
-#define CONFIG_MII
#define CONFIG_PHY_ATHEROS
/* NAND support */
diff --git a/include/configs/calimain.h b/include/configs/calimain.h
index 5db621fadad..b01cf52e109 100644
--- a/include/configs/calimain.h
+++ b/include/configs/calimain.h
@@ -14,7 +14,6 @@
/*
* Board
*/
-#define CONFIG_DRIVER_TI_EMAC
#define CONFIG_MACH_TYPE MACH_TYPE_CALIMAIN
/*
@@ -151,7 +150,6 @@
* Network & Ethernet Configuration
*/
#ifdef CONFIG_DRIVER_TI_EMAC
-#define CONFIG_MII
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h
index a7f372e5b92..7f2dc0c6b61 100644
--- a/include/configs/cgtqmx6eval.h
+++ b/include/configs/cgtqmx6eval.h
@@ -83,7 +83,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
index 295bcdf5ad9..e8a3526cb17 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -77,7 +77,6 @@
/* USB Networking options */
/* CPSW Ethernet */
-#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_PHY_ATHEROS
diff --git a/include/configs/cl-som-imx7.h b/include/configs/cl-som-imx7.h
index f46c8dd47c1..f86324a20be 100644
--- a/include/configs/cl-som-imx7.h
+++ b/include/configs/cl-som-imx7.h
@@ -25,7 +25,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/cm_fx6.h b/include/configs/cm_fx6.h
index c09d360965c..a98252ca927 100644
--- a/include/configs/cm_fx6.h
+++ b/include/configs/cm_fx6.h
@@ -179,7 +179,6 @@
#define CONFIG_FEC_XCV_TYPE RGMII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_PHY_ATHEROS
-#define CONFIG_MII
#define CONFIG_ETHPRIME "FEC0"
#define CONFIG_ARP_TIMEOUT 200UL
#define CONFIG_NET_RETRY_COUNT 5
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index fec3c4ee073..30027bf680e 100644
--- a/include/configs/cm_t3517.h
+++ b/include/configs/cm_t3517.h
@@ -188,9 +188,7 @@
#define CONFIG_ENV_ADDR 0x260000
#if defined(CONFIG_CMD_NET)
-#define CONFIG_DRIVER_TI_EMAC
#define CONFIG_DRIVER_TI_EMAC_USE_RMII
-#define CONFIG_MII
#define CONFIG_ARP_TIMEOUT 200UL
#define CONFIG_NET_RETRY_COUNT 5
#endif /* CONFIG_CMD_NET */
diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h
index fdaf68c6fd1..79eb865bf9c 100644
--- a/include/configs/cm_t43.h
+++ b/include/configs/cm_t43.h
@@ -44,7 +44,6 @@
50, 51, 52, 53, 54, 55, 56, 57, }
/* CPSW Ethernet support */
-#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_PHY_ATHEROS
diff --git a/include/configs/cobra5272.h b/include/configs/cobra5272.h
index 24a3d1b76c1..337c875655c 100644
--- a/include/configs/cobra5272.h
+++ b/include/configs/cobra5272.h
@@ -114,7 +114,6 @@
*/
#ifdef CONFIG_MCFFEC
-# define CONFIG_MII 1
# define CONFIG_MII_INIT 1
# define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h
index 695fbcf697e..f2db0394549 100644
--- a/include/configs/colibri-imx6ull.h
+++ b/include/configs/colibri-imx6ull.h
@@ -20,7 +20,6 @@
#define CONFIG_SYS_MALLOC_LEN (32 * SZ_1M)
/* Network */
-#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index c26f2dc9adb..c1c060221aa 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -55,7 +55,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index aac4205fa3f..e7da8b72c0d 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -21,7 +21,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index ffff1cef0e0..31ff8a00a69 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -48,7 +48,6 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 1
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET1_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index bfd77c82999..a32bd37d010 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -253,7 +253,6 @@
#define CONFIG_TSECV2
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2 1
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 366e8ea65be..f9756923a1a 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -555,7 +555,6 @@
#define CONFIG_SYS_FM2_10GEC1_PHY_ADDR 0
#define CONFIG_SYS_TBIPA_VALUE 8
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
index 8284a97ae38..d2f5d2395dd 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -376,7 +376,6 @@
#ifdef CONFIG_FMAN_ENET
#define CONFIG_SYS_TBIPA_VALUE 8
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC4"
#endif
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 3a42ff3dc0e..c6b5b28174b 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -13,7 +13,6 @@
/*
* Board
*/
-#define CONFIG_DRIVER_TI_EMAC
/* check if direct NOR boot config is used */
#ifndef CONFIG_DIRECT_NOR_BOOT
#define CONFIG_USE_SPIFLASH
@@ -191,7 +190,6 @@
* Network & Ethernet Configuration
*/
#ifdef CONFIG_DRIVER_TI_EMAC
-#define CONFIG_MII
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
index 0d6e2b64178..6c833e7a27b 100644
--- a/include/configs/dh_imx6.h
+++ b/include/configs/dh_imx6.h
@@ -42,7 +42,6 @@
#define CONFIG_SYS_BOOTCOUNT_BE
/* FEC ethernet */
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/display5.h b/include/configs/display5.h
index 167d8e0e9b3..5a01023e365 100644
--- a/include/configs/display5.h
+++ b/include/configs/display5.h
@@ -84,7 +84,6 @@
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
-#define CONFIG_MII
#endif
/* MMC Configs */
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index b3d33650f15..fcaf3a1e13c 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -70,7 +70,6 @@
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
-#define CONFIG_MII /* Required in net/eth.c */
#define CONFIG_PHY_TI
/* SPI */
diff --git a/include/configs/draco.h b/include/configs/draco.h
index 7b2794826fe..ffeb3982b55 100644
--- a/include/configs/draco.h
+++ b/include/configs/draco.h
@@ -36,7 +36,6 @@
#define EEPROM_ADDR_DDR3 0x90
#define EEPROM_ADDR_CHIP 0x120
-#undef CONFIG_MII
#define CONFIG_PHY_SMSC
#define CONFIG_FACTORYSET
diff --git a/include/configs/ea20.h b/include/configs/ea20.h
index e8fc753efef..79c624a3748 100644
--- a/include/configs/ea20.h
+++ b/include/configs/ea20.h
@@ -13,7 +13,6 @@
/*
* Board
*/
-#define CONFIG_DRIVER_TI_EMAC
#define CONFIG_USE_SPIFLASH
#define CONFIG_SYS_USE_NAND
#define CONFIG_DRIVER_TI_EMAC_USE_RMII
@@ -68,7 +67,6 @@
* Network & Ethernet Configuration
*/
#ifdef CONFIG_DRIVER_TI_EMAC
-#define CONFIG_MII
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index d8e647ec962..83230576463 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -79,7 +79,6 @@
*----------------------------------------------------------------------*/
#define CONFIG_MCFFEC
-#define CONFIG_MII 1
#define CONFIG_MII_INIT 1
#define CONFIG_SYS_DISCOVER_PHY
#define CONFIG_SYS_RX_ETH_BUFFER 8
diff --git a/include/configs/edb93xx.h b/include/configs/edb93xx.h
index cfd929b150a..a175f9eee9d 100644
--- a/include/configs/edb93xx.h
+++ b/include/configs/edb93xx.h
@@ -93,7 +93,6 @@
/* Network hardware configuration */
#define CONFIG_DRIVER_EP93XX_MAC
#define CONFIG_MII_SUPPRESS_PREAMBLE
-#define CONFIG_MII
#undef CONFIG_NETCONSOLE
/* SDRAM configuration */
diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h
index a5ad27e90a2..644f42a8bbc 100644
--- a/include/configs/edminiv2.h
+++ b/include/configs/edminiv2.h
@@ -122,7 +122,6 @@
#define CONFIG_PHY_BASE_ADR 0x8
#define CONFIG_RESET_PHY_R /* use reset_phy() to init mv8831116 PHY */
#define CONFIG_NETCONSOLE /* include NetConsole support */
-#define CONFIG_MII /* expose smi ove miiphy interface */
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN /* detect link using phy */
#define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */
#endif
diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h
index b5502ad6147..71217f07e22 100644
--- a/include/configs/embestmx6boards.h
+++ b/include/configs/embestmx6boards.h
@@ -42,7 +42,6 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/etamin.h b/include/configs/etamin.h
index a13be398d51..726f8a500f9 100644
--- a/include/configs/etamin.h
+++ b/include/configs/etamin.h
@@ -95,7 +95,6 @@
#define EEPROM_ADDR_DDR3 0x90
#define EEPROM_ADDR_CHIP 0x120
-#undef CONFIG_MII
#define CONFIG_PHY_SMSC
#define CONFIG_FACTORYSET
diff --git a/include/configs/flea3.h b/include/configs/flea3.h
index d7d9a297f02..6c231630b6d 100644
--- a/include/configs/flea3.h
+++ b/include/configs/flea3.h
@@ -71,8 +71,6 @@
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
-#define CONFIG_MII
-
#define CONFIG_ARP_TIMEOUT 200UL
/*
diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h
index 762162e7eac..06818582e2a 100644
--- a/include/configs/ge_bx50v3.h
+++ b/include/configs/ge_bx50v3.h
@@ -65,7 +65,6 @@
/* Networking Configs */
#ifdef CONFIG_NET
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
index 357196b77cb..a8c4ddf0fd4 100644
--- a/include/configs/gplugd.h
+++ b/include/configs/gplugd.h
@@ -48,7 +48,6 @@
#define CONFIG_MARVELL_GPIO
/* PHY configuration */
-#define CONFIG_MII
#define CONFIG_RESET_PHY_R
/* 88E3015 register definition */
#define PHY_LED_PAR_SEL_REG 22
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index ec839c2c834..47a5bb037b9 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -124,7 +124,6 @@
/* Ethernet support */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h
index 941684425f7..c292c258c67 100644
--- a/include/configs/hrcon.h
+++ b/include/configs/hrcon.h
@@ -470,7 +470,6 @@ void fpga_control_clear(unsigned int bus, int pin);
/*
* TSEC ethernet configuration
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1
#define CONFIG_TSEC1_NAME "eTSEC0"
#define TSEC1_PHY_ADDR 1
diff --git a/include/configs/hsdk.h b/include/configs/hsdk.h
index 5da053002ee..cdf4fddd940 100644
--- a/include/configs/hsdk.h
+++ b/include/configs/hsdk.h
@@ -48,7 +48,6 @@
/*
* Ethernet PHY configuration
*/
-#define CONFIG_MII
/*
* USB 1.1 configuration
diff --git a/include/configs/ids8313.h b/include/configs/ids8313.h
index b633de60e99..d9089f6b71c 100644
--- a/include/configs/ids8313.h
+++ b/include/configs/ids8313.h
@@ -446,7 +446,6 @@
#define CONFIG_SYS_MEMTEST_END 0x00C00000
#define CONFIG_SYS_LOAD_ADDR 0x100000
-#define CONFIG_MII
#define CONFIG_LOADS_ECHO
#define CONFIG_TIMESTAMP
#define CONFIG_PREBOOT "echo;" \
diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h
index 2a7682c76df..cd89fadb39b 100644
--- a/include/configs/imx27lite-common.h
+++ b/include/configs/imx27lite-common.h
@@ -109,7 +109,6 @@
*/
#define CONFIG_FEC_MXC
#define CONFIG_FEC_MXC_PHYADDR 0x1f
-#define CONFIG_MII
/*
* MTD
diff --git a/include/configs/imx6-engicam.h b/include/configs/imx6-engicam.h
index 68de6caedf8..7baa265934f 100644
--- a/include/configs/imx6-engicam.h
+++ b/include/configs/imx6-engicam.h
@@ -163,8 +163,6 @@
# define CONFIG_FEC_MXC_PHYADDR 0
# define CONFIG_FEC_XCV_TYPE RMII
# endif
-
-# define CONFIG_MII
#endif
/* Falcon Mode */
diff --git a/include/configs/imx6_logic.h b/include/configs/imx6_logic.h
index f2d3f79902f..e55941408c9 100644
--- a/include/configs/imx6_logic.h
+++ b/include/configs/imx6_logic.h
@@ -26,7 +26,6 @@
#define CONFIG_MMCROOT "/dev/mmcblk1p2" /* Dev kit SD card */
/* Ethernet Configs */
-#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/imx6dl-mamoj.h b/include/configs/imx6dl-mamoj.h
index da3d923ba42..030dbedce81 100644
--- a/include/configs/imx6dl-mamoj.h
+++ b/include/configs/imx6dl-mamoj.h
@@ -55,7 +55,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC_PHYADDR 1
-#define CONFIG_MII
/* USB */
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index 1421be4a6db..1e966e30883 100644
--- a/include/configs/ipam390.h
+++ b/include/configs/ipam390.h
@@ -17,7 +17,6 @@
/*
* Board
*/
-#define CONFIG_DRIVER_TI_EMAC
/*
* SoC Configuration
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index a4ef70bb1ca..4bb80fc2caf 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -131,7 +131,6 @@
* Ethernet Driver configuration
*/
#define CONFIG_NETCONSOLE /* include NetConsole support */
-#define CONFIG_MII /* expose smi ove miiphy interface */
#define CONFIG_SYS_FAULT_ECHO_LINK_DOWN /* detect link using phy */
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
#define CONFIG_PHY_BASE_ADR 0
diff --git a/include/configs/kp_imx53.h b/include/configs/kp_imx53.h
index d7867712424..080eec47caf 100644
--- a/include/configs/kp_imx53.h
+++ b/include/configs/kp_imx53.h
@@ -21,7 +21,6 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 1
/* Eth Configs */
-#define CONFIG_MII
/* USB Configs */
#define CONFIG_USB_EHCI_MX5
diff --git a/include/configs/kp_imx6q_tpc.h b/include/configs/kp_imx6q_tpc.h
index 136e1cb31e2..704383090f0 100644
--- a/include/configs/kp_imx6q_tpc.h
+++ b/include/configs/kp_imx6q_tpc.h
@@ -25,7 +25,6 @@
#define CONFIG_SYS_MALLOC_LEN (4 * SZ_1M)
/* FEC ethernet */
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/liteboard.h b/include/configs/liteboard.h
index 98e3853a4e3..a97ccb50b2f 100644
--- a/include/configs/liteboard.h
+++ b/include/configs/liteboard.h
@@ -140,7 +140,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_ENET_DEV 0
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h
index d7f687982ee..72eef9cc200 100644
--- a/include/configs/ls1021aiot.h
+++ b/include/configs/ls1021aiot.h
@@ -150,7 +150,6 @@
*/
#ifdef CONFIG_TSEC_ENET
-#define CONFIG_MII
#define CONFIG_MII_DEFAULT_TSEC 1
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index 7358407a8f8..ca2484748fd 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -403,7 +403,6 @@ unsigned long get_board_ddr_clk(void);
*/
#ifdef CONFIG_TSEC_ENET
-#define CONFIG_MII
#define CONFIG_MII_DEFAULT_TSEC 3
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index 169520f1e07..023797b1226 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -268,7 +268,6 @@
*/
#ifdef CONFIG_TSEC_ENET
-#define CONFIG_MII
#define CONFIG_MII_DEFAULT_TSEC 1
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
diff --git a/include/configs/ls1088aqds.h b/include/configs/ls1088aqds.h
index d2c80fc3b66..25f680c8640 100644
--- a/include/configs/ls1088aqds.h
+++ b/include/configs/ls1088aqds.h
@@ -464,7 +464,6 @@ unsigned long get_board_ddr_clk(void);
#define XQSGMII_CARD_PHY4_PORT2_ADDR 0xe
#define XQSGMII_CARD_PHY4_PORT3_ADDR 0xf
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "DPMAC1@xgmii"
#define CONFIG_PHY_GIGE /* Include GbE speed/duplex detection */
diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index 36243f92c1d..973a59445ef 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -443,7 +443,6 @@
#define QSGMII2_PORT3_PHY_ADDR 0x1e
#define QSGMII2_PORT4_PHY_ADDR 0x1f
-#define CONFIG_MII
#define CONFIG_ETHPRIME "DPMAC1@xgmii"
#define CONFIG_PHY_GIGE
#endif
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 81a092b0db3..c04448d0c22 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -426,7 +426,6 @@ unsigned long get_board_ddr_clk(void);
#define XQSGMII_CARD_PHY4_PORT2_ADDR 0xe
#define XQSGMII_CARD_PHY4_PORT3_ADDR 0xf
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "DPMAC1@xgmii"
#endif
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 84c6b7b2abb..e57cd3d8b35 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -479,7 +479,6 @@ unsigned long get_board_sys_clk(void);
#define AQ_PHY_ADDR4 0x03
#define AQR405_IRQ_MASK 0x36
-#define CONFIG_MII
#define CONFIG_ETHPRIME "DPMAC1@xgmii"
#define CONFIG_PHY_AQUANTIA
#endif
diff --git a/include/configs/mccmon6.h b/include/configs/mccmon6.h
index f872d5a484a..0cda1f6248a 100644
--- a/include/configs/mccmon6.h
+++ b/include/configs/mccmon6.h
@@ -85,7 +85,6 @@
/* Ethernet Configuration */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index 626d778ac3b..48f86228c2f 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -286,9 +286,7 @@
*
*/
#if defined(CONFIG_CMD_NET)
-#define CONFIG_DRIVER_TI_EMAC
#define CONFIG_DRIVER_TI_EMAC_USE_RMII
-#define CONFIG_MII
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 9624fc5ee8f..2562bb05d61 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -170,10 +170,7 @@
#define CONFIG_LMB 1
#if defined(CONFIG_XILINX_AXIEMAC)
-# define CONFIG_MII 1
# define CONFIG_SYS_FAULT_ECHO_LINK_DOWN 1
-#else
-# undef CONFIG_MII
#endif
/* SPL part */
diff --git a/include/configs/mpc8308_p1m.h b/include/configs/mpc8308_p1m.h
index e978734bab9..6752ef66da5 100644
--- a/include/configs/mpc8308_p1m.h
+++ b/include/configs/mpc8308_p1m.h
@@ -337,7 +337,6 @@
/*
* TSEC ethernet configuration
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2_NAME "eTSEC1"
#define TSEC1_PHY_ADDR 1
diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h
index 0ebfbd10fc6..6537e3a2044 100644
--- a/include/configs/mx25pdk.h
+++ b/include/configs/mx25pdk.h
@@ -61,7 +61,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC
#define CONFIG_FEC_MXC_PHYADDR 0x1f
-#define CONFIG_MII
#define CONFIG_ENV_OVERWRITE
/* ESDHC driver */
diff --git a/include/configs/mx35pdk.h b/include/configs/mx35pdk.h
index b57389007dd..383ba9bbf00 100644
--- a/include/configs/mx35pdk.h
+++ b/include/configs/mx35pdk.h
@@ -87,8 +87,6 @@
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1F
-#define CONFIG_MII
-
#define CONFIG_ARP_TIMEOUT 200UL
/*
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index ea53ec32603..eb172c97b35 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -55,7 +55,6 @@
/*
* Eth Configs
*/
-#define CONFIG_MII
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE FEC_BASE_ADDR
diff --git a/include/configs/mx53ard.h b/include/configs/mx53ard.h
index ede75450bae..46ff99b4491 100644
--- a/include/configs/mx53ard.h
+++ b/include/configs/mx53ard.h
@@ -46,7 +46,6 @@
/* Eth Configs */
#define CONFIG_HAS_ETH1
-#define CONFIG_MII
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
diff --git a/include/configs/mx53cx9020.h b/include/configs/mx53cx9020.h
index c03e994d9f8..3ed5ee3c57e 100644
--- a/include/configs/mx53cx9020.h
+++ b/include/configs/mx53cx9020.h
@@ -36,7 +36,6 @@
/* bootz: zImage/initrd.img support */
/* Eth Configs */
-#define CONFIG_MII
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_ETHPRIME "FEC0"
#define CONFIG_FEC_MXC_PHYADDR 0x1F
diff --git a/include/configs/mx53evk.h b/include/configs/mx53evk.h
index 3af57825420..17ff13df3e4 100644
--- a/include/configs/mx53evk.h
+++ b/include/configs/mx53evk.h
@@ -45,7 +45,6 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 2
/* Eth Configs */
-#define CONFIG_MII
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE FEC_BASE_ADDR
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 091a8df803d..816164e87ee 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -32,7 +32,6 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 2
/* Eth Configs */
-#define CONFIG_MII
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE FEC_BASE_ADDR
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index 930fcea949c..dfc312e42af 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -38,7 +38,6 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 2
/* Eth Configs */
-#define CONFIG_MII
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE FEC_BASE_ADDR
diff --git a/include/configs/mx53smd.h b/include/configs/mx53smd.h
index d3439f5258c..e606ee81b5f 100644
--- a/include/configs/mx53smd.h
+++ b/include/configs/mx53smd.h
@@ -38,7 +38,6 @@
/* Eth Configs */
#define CONFIG_HAS_ETH1
-#define CONFIG_MII
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE FEC_BASE_ADDR
diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h
index eb92c568273..a62e14f7c61 100644
--- a/include/configs/mx6cuboxi.h
+++ b/include/configs/mx6cuboxi.h
@@ -29,7 +29,6 @@
/* Ethernet Configuration */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h
index 4db5d3de29c..6e4e7519356 100644
--- a/include/configs/mx6qarm2.h
+++ b/include/configs/mx6qarm2.h
@@ -21,7 +21,6 @@
#define CONFIG_SYS_FSL_USDHC_NUM 2
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
index cb4fdad3705..711aa82f9ca 100644
--- a/include/configs/mx6sabre_common.h
+++ b/include/configs/mx6sabre_common.h
@@ -21,7 +21,6 @@
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 72ed8d443bd..a80a656c3b0 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -33,7 +33,6 @@
#define CONFIG_SYS_I2C_SPEED 100000
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/mx6sxsabreauto.h b/include/configs/mx6sxsabreauto.h
index fbc7e429e94..058856ac866 100644
--- a/include/configs/mx6sxsabreauto.h
+++ b/include/configs/mx6sxsabreauto.h
@@ -127,7 +127,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x0
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 5b2e1c75f52..dc4181dbf83 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -150,7 +150,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h
index 48b4327af97..3ad2518dce9 100644
--- a/include/configs/mx6ul_14x14_evk.h
+++ b/include/configs/mx6ul_14x14_evk.h
@@ -184,7 +184,6 @@
#ifdef CONFIG_CMD_NET
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_ENET_DEV 1
#if (CONFIG_FEC_ENET_DEV == 0)
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index 1bbe0605748..11fcc9f158b 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -20,7 +20,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/mxs.h b/include/configs/mxs.h
index 0fe0770e13f..9e59e7a4dcb 100644
--- a/include/configs/mxs.h
+++ b/include/configs/mxs.h
@@ -111,7 +111,6 @@
/* FEC Ethernet on SoC */
#ifdef CONFIG_FEC_MXC
-#define CONFIG_MII
#ifndef CONFIG_ETHPRIME
#define CONFIG_ETHPRIME "FEC0"
#endif
diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index 706a54da717..6c38f9ff245 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -54,7 +54,6 @@
#endif
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/novena.h b/include/configs/novena.h
index 283eac16cc3..aacf7b2a5e6 100644
--- a/include/configs/novena.h
+++ b/include/configs/novena.h
@@ -61,7 +61,6 @@
/* Ethernet Configuration */
#ifdef CONFIG_CMD_NET
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 2eb81ce14d5..92f07f64698 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -13,7 +13,6 @@
/*
* Board
*/
-#define CONFIG_DRIVER_TI_EMAC
#undef CONFIG_USE_SPIFLASH
#undef CONFIG_SYS_USE_NOR
@@ -204,7 +203,6 @@
* Network & Ethernet Configuration
*/
#ifdef CONFIG_DRIVER_TI_EMAC
-#define CONFIG_MII
#undef CONFIG_DRIVER_TI_EMAC_USE_RMII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS2
diff --git a/include/configs/opos6uldev.h b/include/configs/opos6uldev.h
index b16879d48ab..70cf4665df3 100644
--- a/include/configs/opos6uldev.h
+++ b/include/configs/opos6uldev.h
@@ -50,7 +50,6 @@
#define CONFIG_FEC_MXC_PHYADDR 0x1
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_ETHPRIME "FEC"
-#define CONFIG_MII
#endif
/* LCD */
diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h
index 700c7666da3..0d8447ee906 100644
--- a/include/configs/ot1200.h
+++ b/include/configs/ot1200.h
@@ -69,7 +69,6 @@
#endif
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE MII100
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index 3aebc845cdb..aa3f2277d6f 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -642,7 +642,6 @@
#endif /* CONFIG_PCI */
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_TSEC1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index 2fff006cc2f..5a6c9e0d146 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -256,7 +256,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_TSEC1
#define CONFIG_TSEC1_NAME "eTSEC1"
#undef CONFIG_TSEC2
diff --git a/include/configs/pcm052.h b/include/configs/pcm052.h
index 2d213718d4d..99977954341 100644
--- a/include/configs/pcm052.h
+++ b/include/configs/pcm052.h
@@ -40,7 +40,6 @@
/*#define CONFIG_ESDHC_DETECT_USE_EXTERN_IRQ1*/
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/pcm058.h b/include/configs/pcm058.h
index 481b323a3c6..49048c163fd 100644
--- a/include/configs/pcm058.h
+++ b/include/configs/pcm058.h
@@ -32,7 +32,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/pfla02.h b/include/configs/pfla02.h
index 2853af7af8a..e2aae19484c 100644
--- a/include/configs/pfla02.h
+++ b/include/configs/pfla02.h
@@ -29,7 +29,6 @@
#define CONFIG_SYS_MALLOC_LEN (8 * SZ_1M)
/* Ethernet */
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/pic32mzdask.h b/include/configs/pic32mzdask.h
index d3775023d0b..374957737dd 100644
--- a/include/configs/pic32mzdask.h
+++ b/include/configs/pic32mzdask.h
@@ -60,7 +60,6 @@
/*-----------------------------------------------------------------------
* Networking Configuration
*/
-#define CONFIG_MII
#define CONFIG_PHY_SMSC
#define CONFIG_SYS_RX_ETH_BUFFER 8
#define CONFIG_NET_RETRY_COUNT 20
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h
index 2129c29c16d..34ba53a2a9d 100644
--- a/include/configs/pico-imx6ul.h
+++ b/include/configs/pico-imx6ul.h
@@ -16,7 +16,6 @@
/* Network support */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET2_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
#define CONFIG_FEC_XCV_TYPE RMII
diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h
index b84c39c89ff..4cc84ff5d44 100644
--- a/include/configs/pico-imx7d.h
+++ b/include/configs/pico-imx7d.h
@@ -31,7 +31,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 1
diff --git a/include/configs/platinum.h b/include/configs/platinum.h
index ae7fb104cf1..104f7995982 100644
--- a/include/configs/platinum.h
+++ b/include/configs/platinum.h
@@ -36,7 +36,6 @@
/* Ethernet config */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
/* USB config */
diff --git a/include/configs/rastaban.h b/include/configs/rastaban.h
index 75e6e1976b2..c69535aa6dc 100644
--- a/include/configs/rastaban.h
+++ b/include/configs/rastaban.h
@@ -41,7 +41,6 @@
#define EEPROM_ADDR_DDR3 0x90
#define EEPROM_ADDR_CHIP 0x120
-#undef CONFIG_MII
#define CONFIG_PHY_SMSC
#define CONFIG_FACTORYSET
diff --git a/include/configs/s32v234evb.h b/include/configs/s32v234evb.h
index f6227e79fee..216932046bc 100644
--- a/include/configs/s32v234evb.h
+++ b/include/configs/s32v234evb.h
@@ -77,7 +77,6 @@
/* Ethernet config */
#define CONFIG_CMD_MII
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/sbc8548.h b/include/configs/sbc8548.h
index 0289d1b267c..dfcf8491cbd 100644
--- a/include/configs/sbc8548.h
+++ b/include/configs/sbc8548.h
@@ -449,7 +449,6 @@
#if defined(CONFIG_TSEC_ENET)
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC0"
#define CONFIG_TSEC2 1
diff --git a/include/configs/sbc8641d.h b/include/configs/sbc8641d.h
index a620f0d2b46..c509822814e 100644
--- a/include/configs/sbc8641d.h
+++ b/include/configs/sbc8641d.h
@@ -304,9 +304,6 @@
#endif /* CONFIG_PCI */
#if defined(CONFIG_TSEC_ENET)
-
-/* #define CONFIG_MII 1 */ /* MII PHY management */
-
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "eTSEC1"
#define CONFIG_TSEC2 1
diff --git a/include/configs/secomx6quq7.h b/include/configs/secomx6quq7.h
index ab274976f55..2d219b2b5fe 100644
--- a/include/configs/secomx6quq7.h
+++ b/include/configs/secomx6quq7.h
@@ -27,7 +27,6 @@
/* Ethernet Configuration */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index 4420f54ee49..8e3a5af46a4 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -187,7 +187,6 @@
# define CONFIG_ENV_SECT_SIZE (4 << 10) /* 4 KB sectors */
#endif /* SPI support */
-#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
diff --git a/include/configs/sksimx6.h b/include/configs/sksimx6.h
index 688b334d2b1..4f7ec2d7e99 100644
--- a/include/configs/sksimx6.h
+++ b/include/configs/sksimx6.h
@@ -26,7 +26,6 @@
#define CONFIG_ETHPRIME "FEC"
#define CONFIG_FEC_MXC_PHYADDR 0x01
-#define CONFIG_MII
#define CONFIG_PHY_MICREL_KSZ9021
/* I2C Configs */
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index abe5fd1342c..440a918fc7c 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -74,7 +74,6 @@
*/
#ifdef CONFIG_CMD_NET
#define CONFIG_DW_ALTDESCRIPTOR
-#define CONFIG_MII
#endif
/*
diff --git a/include/configs/socfpga_stratix10_socdk.h b/include/configs/socfpga_stratix10_socdk.h
index ba81f3e1905..b58f4780047 100644
--- a/include/configs/socfpga_stratix10_socdk.h
+++ b/include/configs/socfpga_stratix10_socdk.h
@@ -165,7 +165,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
/* Ethernet on SoC (EMAC) */
#if defined(CONFIG_CMD_NET)
#define CONFIG_DW_ALTDESCRIPTOR
-#define CONFIG_MII
#endif /* CONFIG_CMD_NET */
/*
diff --git a/include/configs/socrates.h b/include/configs/socrates.h
index 2c897cdf290..068ee195d97 100644
--- a/include/configs/socrates.h
+++ b/include/configs/socrates.h
@@ -220,7 +220,6 @@
#undef CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
#endif /* CONFIG_PCI */
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1 1
#define CONFIG_TSEC1_NAME "TSEC0"
#define CONFIG_TSEC3 1
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index d18b999dda9..2c32710e873 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -13,7 +13,6 @@
/* U-Boot Load Address */
/* Ethernet driver configuration */
-#define CONFIG_MII
#define CONFIG_PHY_RESET_DELAY 10000 /* in usec */
/* USBD driver configuration */
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h
index d97725128ce..dae402f91b8 100644
--- a/include/configs/stm32f746-disco.h
+++ b/include/configs/stm32f746-disco.h
@@ -30,7 +30,6 @@
#define CONFIG_DW_GMAC_DEFAULT_DMA_PBL (8)
#define CONFIG_DW_ALTDESCRIPTOR
-#define CONFIG_MII
#define CONFIG_PHY_SMSC
#define CONFIG_SYS_HZ_CLOCK 1000000 /* Timer is clocked at 1MHz */
diff --git a/include/configs/strider.h b/include/configs/strider.h
index 0757c89f7e2..9b890319657 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -502,7 +502,6 @@ void fpga_control_clear(unsigned int bus, int pin);
/*
* TSEC ethernet configuration
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_TSEC1
#define CONFIG_TSEC1_NAME "eTSEC0"
#define TSEC1_PHY_ADDR 1
diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h
index fd3fb8aa9a1..3177b7a7595 100644
--- a/include/configs/stv0991.h
+++ b/include/configs/stv0991.h
@@ -36,7 +36,6 @@
/* GMAC related configs */
-#define CONFIG_MII
#define CONFIG_DW_ALTDESCRIPTOR
/* Command support defines */
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 25993761a6f..6cea9a1a7e6 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -290,12 +290,8 @@ extern int soft_i2c_gpio_scl;
#endif /* CONFIG_VIDEO_SUNXI */
/* Ethernet support */
-#ifdef CONFIG_SUN4I_EMAC
-#define CONFIG_MII /* MII PHY management */
-#endif
#ifdef CONFIG_SUN7I_GMAC
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_PHY_REALTEK
#endif
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index b65b6334f88..1f6a6e338d7 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -210,7 +210,6 @@
#endif
#ifdef CONFIG_FMAN_ENET
-#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC1"
#endif
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index b1f8f76c7b9..78f6dc32e64 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -131,9 +131,7 @@
* ethernet support, EMAC
*
*/
-#define CONFIG_DRIVER_TI_EMAC
#define CONFIG_DRIVER_TI_EMAC_USE_RMII
-#define CONFIG_MII
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index 688814dc09c..a60223c6235 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -50,7 +50,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/thuban.h b/include/configs/thuban.h
index 91cfba7e07c..569df9e4d8d 100644
--- a/include/configs/thuban.h
+++ b/include/configs/thuban.h
@@ -34,7 +34,6 @@
#define EEPROM_ADDR_DDR3 0x90
#define EEPROM_ADDR_CHIP 0x120
-#undef CONFIG_MII
#define CONFIG_PHY_SMSC
#define CONFIG_FACTORYSET
diff --git a/include/configs/ti814x_evm.h b/include/configs/ti814x_evm.h
index 9901a8b5e24..05ba83b1f52 100644
--- a/include/configs/ti814x_evm.h
+++ b/include/configs/ti814x_evm.h
@@ -153,7 +153,6 @@
#endif
/* Ethernet */
-#define CONFIG_MII
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
diff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h
index 68400a86fc6..1395ab47864 100644
--- a/include/configs/ti816x_evm.h
+++ b/include/configs/ti816x_evm.h
@@ -97,8 +97,6 @@
#define CONFIG_SPL_MAX_SIZE (SRAM_SCRATCH_SPACE_ADDR - \
CONFIG_SPL_TEXT_BASE)
-#define CONFIG_DRIVER_TI_EMAC
-#define CONFIG_MII
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
diff --git a/include/configs/ti_am335x_common.h b/include/configs/ti_am335x_common.h
index f1c297ca937..68f64655a79 100644
--- a/include/configs/ti_am335x_common.h
+++ b/include/configs/ti_am335x_common.h
@@ -31,7 +31,6 @@
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
#define CONFIG_NET_RETRY_COUNT 10
-#define CONFIG_MII /* Required in net/eth.c */
#endif
/*
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index 3790622c76a..087b08027bc 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -88,7 +88,6 @@
#endif
/* Network Configuration */
-#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS2
#define CONFIG_BOOTP_SEND_HOSTNAME
diff --git a/include/configs/titanium.h b/include/configs/titanium.h
index edfdc598c56..2db9932d8e7 100644
--- a/include/configs/titanium.h
+++ b/include/configs/titanium.h
@@ -40,7 +40,6 @@
#define CONFIG_SYS_FSL_USDHC_NUM 1
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_FEC_MXC_PHYADDR 4
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index 2d89205a863..65cc12f1c19 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -70,7 +70,6 @@
#define CONFIG_FEC_MXC
#define IMX_FEC_BASE ENET_BASE_ADDR
-#define CONFIG_MII
#define CONFIG_ARP_TIMEOUT 200UL
diff --git a/include/configs/ts4800.h b/include/configs/ts4800.h
index dff792d2cf9..956f7795f1f 100644
--- a/include/configs/ts4800.h
+++ b/include/configs/ts4800.h
@@ -55,7 +55,6 @@
/*
* Eth Configs
*/
-#define CONFIG_MII
#define CONFIG_PHY_SMSC
#define CONFIG_FEC_MXC
diff --git a/include/configs/udoo.h b/include/configs/udoo.h
index 2a5d8121879..985f306813b 100644
--- a/include/configs/udoo.h
+++ b/include/configs/udoo.h
@@ -33,7 +33,6 @@
/* Network support */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index bc3d627ef56..6ba4270b72d 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -95,7 +95,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_ENET_DEV 0
#define IMX_FEC_BASE ENET_BASE_ADDR
diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
index cc6fef4d83d..686a3837393 100644
--- a/include/configs/vf610twr.h
+++ b/include/configs/vf610twr.h
@@ -43,7 +43,6 @@
#define CONFIG_SYS_FSL_ESDHC_NUM 1
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RMII
#define CONFIG_FEC_MXC_PHYADDR 0
diff --git a/include/configs/vining_2000.h b/include/configs/vining_2000.h
index 40951fb3dbe..d3cbdc6f2e4 100644
--- a/include/configs/vining_2000.h
+++ b/include/configs/vining_2000.h
@@ -62,7 +62,6 @@
/* Network */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x0
diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
index 7f1c925d02f..b03a1c550cd 100644
--- a/include/configs/wandboard.h
+++ b/include/configs/wandboard.h
@@ -57,7 +57,6 @@
/* Ethernet Configuration */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/woodburn_common.h b/include/configs/woodburn_common.h
index 0c98303c198..c0bc23d9630 100644
--- a/include/configs/woodburn_common.h
+++ b/include/configs/woodburn_common.h
@@ -80,7 +80,6 @@
#define IMX_FEC_BASE FEC_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x1
-#define CONFIG_MII
#define CONFIG_DISCOVER_PHY
#define CONFIG_ARP_TIMEOUT 200UL
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 3cba30298e7..e2796a88c38 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -64,7 +64,6 @@
/* UBI/UBI config options */
/* Ethernet config options */
-#define CONFIG_MII
#define CONFIG_PHY_RESET_DELAY 10000 /* in usec */
#define CONFIG_SPEAR_GPIO
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index e498b422fe2..a65e8fedff9 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -104,7 +104,6 @@
/* Ethernet driver */
#if defined(CONFIG_ZYNQ_GEM)
-# define CONFIG_MII
# define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
# define PHY_ANEG_TIMEOUT 20000
#endif
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index e9ef46050ed..4816bf5fef4 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -296,7 +296,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
/*
* Networking options
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_ETHPRIME "eTSEC1"
#define CONFIG_TSEC1 1
diff --git a/include/configs/xpedite520x.h b/include/configs/xpedite520x.h
index 426af47aa32..86ed58611c2 100644
--- a/include/configs/xpedite520x.h
+++ b/include/configs/xpedite520x.h
@@ -235,7 +235,6 @@
/*
* Networking options
*/
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_ETHPRIME "eTSEC1"
#define CONFIG_TSEC1 1
diff --git a/include/configs/xpedite537x.h b/include/configs/xpedite537x.h
index cc95bbaf3b6..2f7fc5a6ebc 100644
--- a/include/configs/xpedite537x.h
+++ b/include/configs/xpedite537x.h
@@ -295,7 +295,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
* Networking options
*/
#define CONFIG_TSEC_TBI
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_ETHPRIME "eTSEC2"
diff --git a/include/configs/xpedite550x.h b/include/configs/xpedite550x.h
index 7e8daa8cfbe..d98062f4915 100644
--- a/include/configs/xpedite550x.h
+++ b/include/configs/xpedite550x.h
@@ -279,7 +279,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
* Networking options
*/
#define CONFIG_TSEC_TBI
-#define CONFIG_MII 1 /* MII PHY management */
#define CONFIG_MII_DEFAULT_TSEC 1 /* Allow unregistered phys */
#define CONFIG_ETHPRIME "eTSEC2"
diff --git a/include/configs/xpress.h b/include/configs/xpress.h
index c8431f4762e..08e0ca0c8f1 100644
--- a/include/configs/xpress.h
+++ b/include/configs/xpress.h
@@ -65,7 +65,6 @@
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define CONFIG_FEC_ENET_DEV 0
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_MXC_PHYADDR 0x0
diff --git a/include/configs/zc5202.h b/include/configs/zc5202.h
index 22a7fe6e770..40d33f7830a 100644
--- a/include/configs/zc5202.h
+++ b/include/configs/zc5202.h
@@ -18,7 +18,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE MII100
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/zc5601.h b/include/configs/zc5601.h
index 37d5d6ee779..b9673e2c065 100644
--- a/include/configs/zc5601.h
+++ b/include/configs/zc5601.h
@@ -19,7 +19,6 @@
/* Ethernet */
#define CONFIG_FEC_MXC
-#define CONFIG_MII
#define IMX_FEC_BASE ENET_BASE_ADDR
#define CONFIG_FEC_XCV_TYPE RGMII
#define CONFIG_ETHPRIME "FEC"
diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h
index 1d1cfa0c56f..05b42db2659 100644
--- a/include/configs/zmx25.h
+++ b/include/configs/zmx25.h
@@ -45,7 +45,6 @@
*/
#define CONFIG_FEC_MXC
#define CONFIG_FEC_MXC_PHYADDR 0x00
-#define CONFIG_MII
/*
* BOOTP options
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index bd65d20b215..526fe055a83 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -35,7 +35,6 @@
/* Ethernet driver */
#if defined(CONFIG_ZYNQ_GEM)
-# define CONFIG_MII
# define CONFIG_SYS_FAULT_ECHO_LINK_DOWN
# define CONFIG_BOOTP_MAY_FAIL
#endif