From d7869b2183d2b786e5410b97a5a6b2e630e7825e Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Fri, 20 Jul 2018 23:03:57 -0500 Subject: Convert CONFIG_MII et al to Kconfig This converts the following to Kconfig: CONFIG_MII CONFIG_DRIVER_TI_EMAC Signed-off-by: Adam Ford Acked-by: Jagan Teki Acked-by: Joe Hershberger --- include/configs/B4860QDS.h | 1 - include/configs/BSC9131RDB.h | 1 - include/configs/BSC9132QDS.h | 1 - include/configs/C29XPCIE.h | 1 - include/configs/M5208EVBE.h | 1 - include/configs/M5235EVB.h | 1 - include/configs/M5272C3.h | 1 - include/configs/M5275EVB.h | 1 - include/configs/M5282EVB.h | 1 - include/configs/M53017EVB.h | 1 - include/configs/M5329EVB.h | 1 - include/configs/M5373EVB.h | 1 - include/configs/M54418TWR.h | 1 - include/configs/M54451EVB.h | 1 - include/configs/M54455EVB.h | 1 - include/configs/M5475EVB.h | 1 - include/configs/M5485EVB.h | 1 - include/configs/MPC8308RDB.h | 1 - include/configs/MPC8315ERDB.h | 1 - include/configs/MPC8349ITX.h | 3 --- include/configs/MPC837XEMDS.h | 1 - include/configs/MPC8536DS.h | 1 - include/configs/MPC8540ADS.h | 1 - include/configs/MPC8541CDS.h | 1 - include/configs/MPC8544DS.h | 1 - include/configs/MPC8548CDS.h | 1 - include/configs/MPC8555CDS.h | 1 - include/configs/MPC8560ADS.h | 7 ------- include/configs/MPC8568MDS.h | 1 - include/configs/MPC8572DS.h | 1 - include/configs/MPC8641HPCN.h | 3 --- include/configs/P1010RDB.h | 1 - include/configs/P1022DS.h | 1 - include/configs/P1023RDB.h | 1 - include/configs/P2041RDB.h | 1 - include/configs/SBx81LIFKW.h | 1 - include/configs/SBx81LIFXCAT.h | 1 - include/configs/T102xQDS.h | 1 - include/configs/T102xRDB.h | 1 - include/configs/T1040QDS.h | 1 - include/configs/T104xRDB.h | 1 - include/configs/T208xQDS.h | 1 - include/configs/T208xRDB.h | 1 - include/configs/T4240QDS.h | 1 - include/configs/T4240RDB.h | 2 -- include/configs/TQM834x.h | 1 - include/configs/UCP1020.h | 1 - include/configs/advantech_dms-ba16.h | 1 - include/configs/am335x_shc.h | 1 - include/configs/am3517_evm.h | 2 -- include/configs/am43xx_evm.h | 1 - include/configs/am57xx_evm.h | 1 - include/configs/apalis_imx6.h | 1 - include/configs/apf27.h | 1 - include/configs/aristainetos-common.h | 1 - include/configs/at91rm9200ek.h | 1 - include/configs/axs10x.h | 1 - include/configs/baltos.h | 1 - include/configs/calimain.h | 2 -- include/configs/cgtqmx6eval.h | 1 - include/configs/cl-som-am57x.h | 1 - include/configs/cl-som-imx7.h | 1 - include/configs/cm_fx6.h | 1 - include/configs/cm_t3517.h | 2 -- include/configs/cm_t43.h | 1 - include/configs/cobra5272.h | 1 - include/configs/colibri-imx6ull.h | 1 - include/configs/colibri_imx6.h | 1 - include/configs/colibri_imx7.h | 1 - include/configs/colibri_vf.h | 1 - include/configs/controlcenterd.h | 1 - include/configs/corenet_ds.h | 1 - include/configs/cyrus.h | 1 - include/configs/da850evm.h | 2 -- include/configs/dh_imx6.h | 1 - include/configs/display5.h | 1 - include/configs/dra7xx_evm.h | 1 - include/configs/draco.h | 1 - include/configs/ea20.h | 2 -- include/configs/eb_cpu5282.h | 1 - include/configs/edb93xx.h | 1 - include/configs/edminiv2.h | 1 - include/configs/embestmx6boards.h | 1 - include/configs/etamin.h | 1 - include/configs/flea3.h | 2 -- include/configs/ge_bx50v3.h | 1 - include/configs/gplugd.h | 1 - include/configs/gw_ventana.h | 1 - include/configs/hrcon.h | 1 - include/configs/hsdk.h | 1 - include/configs/ids8313.h | 1 - include/configs/imx27lite-common.h | 1 - include/configs/imx6-engicam.h | 2 -- include/configs/imx6_logic.h | 1 - include/configs/imx6dl-mamoj.h | 1 - include/configs/ipam390.h | 1 - include/configs/km/km_arm.h | 1 - include/configs/kp_imx53.h | 1 - include/configs/kp_imx6q_tpc.h | 1 - include/configs/liteboard.h | 1 - include/configs/ls1021aiot.h | 1 - include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - include/configs/ls1088aqds.h | 1 - include/configs/ls1088ardb.h | 1 - include/configs/ls2080aqds.h | 1 - include/configs/ls2080ardb.h | 1 - include/configs/mccmon6.h | 1 - include/configs/mcx.h | 2 -- include/configs/microblaze-generic.h | 3 --- include/configs/mpc8308_p1m.h | 1 - include/configs/mx25pdk.h | 1 - include/configs/mx35pdk.h | 2 -- include/configs/mx51evk.h | 1 - include/configs/mx53ard.h | 1 - include/configs/mx53cx9020.h | 1 - include/configs/mx53evk.h | 1 - include/configs/mx53loco.h | 1 - include/configs/mx53ppd.h | 1 - include/configs/mx53smd.h | 1 - include/configs/mx6cuboxi.h | 1 - include/configs/mx6qarm2.h | 1 - include/configs/mx6sabre_common.h | 1 - include/configs/mx6slevk.h | 1 - include/configs/mx6sxsabreauto.h | 1 - include/configs/mx6sxsabresd.h | 1 - include/configs/mx6ul_14x14_evk.h | 1 - include/configs/mx7dsabresd.h | 1 - include/configs/mxs.h | 1 - include/configs/nitrogen6x.h | 1 - include/configs/novena.h | 1 - include/configs/omapl138_lcdk.h | 2 -- include/configs/opos6uldev.h | 1 - include/configs/ot1200.h | 1 - include/configs/p1_p2_rdb_pc.h | 1 - include/configs/p1_twr.h | 1 - include/configs/pcm052.h | 1 - include/configs/pcm058.h | 1 - include/configs/pfla02.h | 1 - include/configs/pic32mzdask.h | 1 - include/configs/pico-imx6ul.h | 1 - include/configs/pico-imx7d.h | 1 - include/configs/platinum.h | 1 - include/configs/rastaban.h | 1 - include/configs/s32v234evb.h | 1 - include/configs/sbc8548.h | 1 - include/configs/sbc8641d.h | 3 --- include/configs/secomx6quq7.h | 1 - include/configs/siemens-am33x-common.h | 1 - include/configs/sksimx6.h | 1 - include/configs/socfpga_common.h | 1 - include/configs/socfpga_stratix10_socdk.h | 1 - include/configs/socrates.h | 1 - include/configs/spear-common.h | 1 - include/configs/stm32f746-disco.h | 1 - include/configs/strider.h | 1 - include/configs/stv0991.h | 1 - include/configs/sunxi-common.h | 4 ---- include/configs/t4qds.h | 1 - include/configs/tam3517-common.h | 2 -- include/configs/tbs2910.h | 1 - include/configs/thuban.h | 1 - include/configs/ti814x_evm.h | 1 - include/configs/ti816x_evm.h | 2 -- include/configs/ti_am335x_common.h | 1 - include/configs/ti_armv7_keystone2.h | 1 - include/configs/titanium.h | 1 - include/configs/tqma6.h | 1 - include/configs/ts4800.h | 1 - include/configs/udoo.h | 1 - include/configs/udoo_neo.h | 1 - include/configs/vf610twr.h | 1 - include/configs/vining_2000.h | 1 - include/configs/wandboard.h | 1 - include/configs/woodburn_common.h | 1 - include/configs/x600.h | 1 - include/configs/xilinx_zynqmp.h | 1 - include/configs/xpedite517x.h | 1 - include/configs/xpedite520x.h | 1 - include/configs/xpedite537x.h | 1 - include/configs/xpedite550x.h | 1 - include/configs/xpress.h | 1 - include/configs/zc5202.h | 1 - include/configs/zc5601.h | 1 - include/configs/zmx25.h | 1 - include/configs/zynq-common.h | 1 - 186 files changed, 216 deletions(-) (limited to 'include') diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h index 9dd560edcb..ed59d24609 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 93366d1048..e6cbcf86c6 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 c5c199e6c2..d5f069aa72 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 4de25a3d06..177110428b 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 116df265fd..a548af687d 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 2099f6809b..92d4c22741 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 86d5cfce9d..bd5e57c8f0 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 2569cdf0b2..57bc1cf77c 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 76bd05df1d..2ce9b11af7 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 d4fb1e5146..dee7913fe2 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 c0e42a3595..228471cbac 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 93789b3257..274f4db3ef 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 a9d456c50b..0d829b4e74 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 5c6dcd3f69..5bd1d4f240 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 28009cd86b..2de51d91a3 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 4ad3849582..0c42b85438 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 2eb96be1d2..b4069db36c 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 34fbe0d91a..13e3771666 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 e61cf64f65..9de3744759 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 7dc0377178..8366ebe9f9 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 c7d10f7e9a..3fdf34669f 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 7265598164..3625dfe3f6 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 6fdab33487..b4178b11e0 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 3daa4f916b..1201f468a0 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 7973f3ceae..2568e95270 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 2aa3b4df15..a62d4f7eee 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 c708e924ad..f45270f9c4 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 cea24d1484..724575ac59 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 21735e5e52..219cda936a 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 a5b3db3151..8c92c3f832 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 489f599086..68bc710b02 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 6024cce1af..70d12959ea 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 3110cb1ce4..f9e230885c 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 b69d521252..8279452906 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 82ee37616e..ee2015be67 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 667fd43ea8..32353de0b8 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 105967c3f7..43a287ccd3 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 d88c9678dd..341fe24698 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 27948ba3b6..a6047e885a 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 7ab6b2f47e..5cd8d5998d 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 71eb8e0535..0867589db6 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 68ce7aa7ad..e24d5cfed5 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 90043eed5a..a14d81f3c8 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 804d41bea9..f85881fc3c 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 4abe554080..677600e908 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 1cf37ef11b..fc1fa0c089 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 ab69c45bae..7bdc14e512 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 294ad39116..0c9de6125d 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 ca6580f297..6368872e5b 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 8e63cdaa5f..312e0ab188 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 a8560619bc..9d0d342478 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 b2f042e3df..d61fdf9f7a 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 fa95c8222c..f69c24d6a2 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 018410f5cc..1cee2fa292 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 7e3a93d6b9..baddd1c330 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 ee44255b20..d9bb1fc52c 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 f78e1573b6..1b2966fd61 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 a5737708b7..006b049d09 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 5db621fada..b01cf52e10 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 a7f372e5b9..7f2dc0c6b6 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 295bcdf5ad..e8a3526cb1 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 f46c8dd47c..f86324a20b 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 c09d360965..a98252ca92 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 fec3c4ee07..30027bf680 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 fdaf68c6fd..79eb865bf9 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 24a3d1b76c..337c875655 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 695fbcf697..f2db039454 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 c26f2dc9ad..c1c060221a 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 aac4205fa3..e7da8b72c0 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 ffff1cef0e..31ff8a00a6 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 bfd77c8299..a32bd37d01 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 366e8ea65b..f9756923a1 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 8284a97ae3..d2f5d2395d 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 3a42ff3dc0..c6b5b28174 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 0d6e2b6417..6c833e7a27 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 167d8e0e9b..5a01023e36 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 b3d33650f1..fcaf3a1e13 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 7b2794826f..ffeb3982b5 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 e8fc753efe..79c624a374 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 d8e647ec96..8323057646 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 cfd929b150..a175f9eee9 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 a5ad27e90a..644f42a8bb 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 b5502ad614..71217f07e2 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 a13be398d5..726f8a500f 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 d7d9a297f0..6c231630b6 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 762162e7ea..06818582e2 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 357196b77c..a8c4ddf0fd 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 ec839c2c83..47a5bb037b 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 941684425f..c292c258c6 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 5da053002e..cdf4fddd94 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 b633de60e9..d9089f6b71 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 2a7682c76d..cd89fadb39 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 68de6caedf..7baa265934 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 f2d3f79902..e55941408c 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 da3d923ba4..030dbedce8 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 1421be4a6d..1e966e3088 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 a4ef70bb1c..4bb80fc2ca 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 d786771242..080eec47ca 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 136e1cb31e..704383090f 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 98e3853a4e..a97ccb50b2 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 d7f687982e..72eef9cc20 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 7358407a8f..ca2484748f 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 169520f1e0..023797b122 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 d2c80fc3b6..25f680c864 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 36243f92c1..973a59445e 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 81a092b0db..c04448d0c2 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 84c6b7b2ab..e57cd3d8b3 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 f872d5a484..0cda1f6248 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 626d778ac3..48f86228c2 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 9624fc5ee8..2562bb05d6 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 e978734bab..6752ef66da 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 0ebfbd10fc..6537e3a204 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 b57389007d..383ba9bbf0 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 ea53ec3260..eb172c97b3 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 ede75450ba..46ff99b449 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 c03e994d9f..3ed5ee3c57 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 3af5782542..17ff13df3e 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 091a8df803..816164e87e 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 930fcea949..dfc312e42a 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 d3439f5258..e606ee81b5 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 eb92c56827..a62e14f7c6 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 4db5d3de29..6e4e751935 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 cb4fdad370..711aa82f9c 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 72ed8d443b..a80a656c3b 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 fbc7e429e9..058856ac86 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 5b2e1c75f5..dc4181dbf8 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 48b4327af9..3ad2518dce 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 1bbe060574..11fcc9f158 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 0fe0770e13..9e59e7a4dc 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 706a54da71..6c38f9ff24 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 283eac16cc..aacf7b2a5e 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 2eb81ce14d..92f07f6469 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 b16879d48a..70cf4665df 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 700c7666da..0d8447ee90 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 3aebc845cd..aa3f2277d6 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 2fff006cc2..5a6c9e0d14 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 2d213718d4..9997795434 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 481b323a3c..49048c163f 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 2853af7af8..e2aae19484 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 d3775023d0..374957737d 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 2129c29c16..34ba53a2a9 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 b84c39c89f..4cc84ff5d4 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 ae7fb104cf..104f799598 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 75e6e1976b..c69535aa6d 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 f6227e79fe..216932046b 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 0289d1b267..dfcf8491cb 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 a620f0d2b4..c509822814 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 ab274976f5..2d219b2b5f 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 4420f54ee4..8e3a5af46a 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 688b334d2b..4f7ec2d7e9 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 abe5fd1342..440a918fc7 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 ba81f3e190..b58f478004 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 2c897cdf29..068ee195d9 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 d18b999dda..2c32710e87 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 d97725128c..dae402f91b 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 0757c89f7e..9b89031965 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 fd3fb8aa9a..3177b7a759 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 25993761a6..6cea9a1a7e 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 b65b6334f8..1f6a6e338d 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 b1f8f76c7b..78f6dc32e6 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 688814dc09..a60223c623 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 91cfba7e07..569df9e4d8 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 9901a8b5e2..05ba83b1f5 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 68400a86fc..1395ab4786 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 f1c297ca93..68f64655a7 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 3790622c76..087b08027b 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 edfdc598c5..2db9932d8e 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 2d89205a86..65cc12f1c1 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 dff792d2cf..956f7795f1 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 2a5d812187..985f306813 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 bc3d627ef5..6ba4270b72 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 cc6fef4d83..686a383739 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 40951fb3db..d3cbdc6f2e 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 7f1c925d02..b03a1c550c 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 0c98303c19..c0bc23d963 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 3cba30298e..e2796a88c3 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 e498b422fe..a65e8fedff 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 e9ef46050e..4816bf5fef 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 426af47aa3..86ed58611c 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 cc95bbaf3b..2f7fc5a6eb 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 7e8daa8cfb..d98062f491 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 c8431f4762..08e0ca0c8f 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 22a7fe6e77..40d33f7830 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 37d5d6ee77..b9673e2c06 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 1d1cfa0c56..05b42db265 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 bd65d20b21..526fe055a8 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 -- cgit v1.2.3