]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_PHYLIB et al to Kconfig
authorTom Rini <trini@konsulko.com>
Mon, 8 Nov 2021 03:59:42 +0000 (22:59 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 19:18:17 +0000 (14:18 -0500)
This converts the following to Kconfig:
   CONFIG_PHYLIB
   CONFIG_PHY_ATHEROS
   CONFIG_PHY_GIGE
   CONFIG_MII

Signed-off-by: Tom Rini <trini@konsulko.com>
37 files changed:
configs/brppt2_defconfig
configs/imx8mq_evk_defconfig
configs/imx8mq_phanbell_defconfig
configs/ls1088aqds_defconfig
configs/ls1088aqds_qspi_SECURE_BOOT_defconfig
configs/ls1088aqds_qspi_defconfig
configs/ls1088aqds_sdcard_ifc_defconfig
configs/ls1088aqds_sdcard_qspi_defconfig
configs/ls1088aqds_tfa_defconfig
configs/ls1088ardb_qspi_SECURE_BOOT_defconfig
configs/ls1088ardb_qspi_defconfig
configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig
configs/ls1088ardb_sdcard_qspi_defconfig
configs/ls1088ardb_tfa_SECURE_BOOT_defconfig
configs/ls1088ardb_tfa_defconfig
configs/lx2160aqds_tfa_SECURE_BOOT_defconfig
configs/lx2160aqds_tfa_defconfig
configs/lx2160ardb_tfa_SECURE_BOOT_defconfig
configs/lx2160ardb_tfa_defconfig
configs/lx2160ardb_tfa_stmm_defconfig
configs/lx2162aqds_tfa_SECURE_BOOT_defconfig
configs/lx2162aqds_tfa_defconfig
configs/lx2162aqds_tfa_verified_boot_defconfig
configs/m53menlo_defconfig
configs/pico-imx6_defconfig
configs/pico-imx8mq_defconfig
include/configs/brppt2.h
include/configs/imx8mq_evk.h
include/configs/imx8mq_phanbell.h
include/configs/ls1088aqds.h
include/configs/ls1088ardb.h
include/configs/lx2160aqds.h
include/configs/lx2160ardb.h
include/configs/lx2162aqds.h
include/configs/m53menlo.h
include/configs/pico-imx6.h
include/configs/pico-imx8mq.h

index 3f5467c814301a9730a616c884b6cea31fa10616..ddcf8ee7f0cccb6bdde0435c0e20867c93b54e02 100644 (file)
@@ -85,6 +85,7 @@ CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_FIXED=y
 CONFIG_FEC_MXC=y
+CONFIG_MII=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
index b0af4122dfef53dbc1a58aaf129cf438a3f80d60..b02d9c1d758a36bd840805382eb67d1e209809d7 100644 (file)
@@ -56,7 +56,9 @@ CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ATHEROS=y
 CONFIG_DM_ETH=y
+CONFIG_PHY_GIGE=y
 CONFIG_FEC_MXC=y
+CONFIG_MII=y
 CONFIG_PHY=y
 CONFIG_PHY_IMX8MQ_USB=y
 CONFIG_PINCTRL=y
index 3de517c0865e1dd0bbcdabdfd32670149df56afb..4b7fafe788d58d24c4fc9a68b2fc100ebad3d819 100644 (file)
@@ -58,8 +58,11 @@ CONFIG_DM_I2C=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHYLIB=y
 CONFIG_DM_ETH=y
+CONFIG_PHY_GIGE=y
 CONFIG_FEC_MXC=y
+CONFIG_MII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX8M=y
 CONFIG_SPL_POWER_LEGACY=y
index c389888417dac14014e7b80a3962c2e56e78bf06..51e5622226bd912d7bfd33769e77de1e9a26cfbf 100644 (file)
@@ -66,6 +66,7 @@ CONFIG_PHYLIB_10G=y
 CONFIG_PHY_REALTEK=y
 CONFIG_PHY_TERANETICS=y
 CONFIG_PHY_VITESSE=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_NVME=y
index 99e6032296b8879bf6bc0047d1078722b40e08e9..f108c3866985782b008821533598f1319f6dd411 100644 (file)
@@ -62,6 +62,7 @@ CONFIG_PHYLIB_10G=y
 CONFIG_PHY_REALTEK=y
 CONFIG_PHY_TERANETICS=y
 CONFIG_PHY_VITESSE=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_NVME=y
index db454fcbb50431dd5341489f8a8f8149511e0369..37d42f35b7e207bb56c44aeba1adcca81c489cf6 100644 (file)
@@ -65,6 +65,7 @@ CONFIG_PHYLIB_10G=y
 CONFIG_PHY_REALTEK=y
 CONFIG_PHY_TERANETICS=y
 CONFIG_PHY_VITESSE=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_NVME=y
index dac7a5d6bacdc326b3603dd8805a9a4e0131128d..5a85ac40e4e1f078aaa4d3db298fdd614188cd6d 100644 (file)
@@ -76,6 +76,7 @@ CONFIG_PHYLIB_10G=y
 CONFIG_PHY_REALTEK=y
 CONFIG_PHY_TERANETICS=y
 CONFIG_PHY_VITESSE=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_NVME=y
index d24a02c775aee2fe23fbe9c7e7585584ba10dfc0..bd43c859b2cdd78b458b8ea52ffe4327d841ca47 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_PHYLIB_10G=y
 CONFIG_PHY_REALTEK=y
 CONFIG_PHY_TERANETICS=y
 CONFIG_PHY_VITESSE=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_NVME=y
index 42c29f279d797eeee44e864b1a876097fb3cf2da..eeb43134204ddbdf20de44d8822f3e0e56ea66bc 100644 (file)
@@ -85,6 +85,7 @@ CONFIG_PHY_VITESSE=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_MDIO_MUX=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_MDIO_MUX_I2CREG=y
index 62dbed8ec90e4caee7abe0cf9a976871bd1ed4a3..668ec3d80fea1c3f889e7effb2686cc5980367da 100644 (file)
@@ -65,6 +65,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHY_VITESSE=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
index d06901d11adceaeb24acd0a21f92f70834d94999..7953d9bb8022663b7ffe3abb1037c4889acfee46 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHY_VITESSE=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
index b9b3f4e0a7c8b8f02d7405c74cc25761f7ff37a3..8dea9787c327e867214207c2a19e808986b9a182 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHY_VITESSE=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
index 866c6256502e90246a74ca5c807f624021aadb5c..580f6a2e94ed286899fa5e940c8b06b880e297ef 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHY_VITESSE=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
index 99afe966eee4ef05340149b4eb02cd8d741acfd9..1f9a15bd06a3de5e5754317c54e7ca7f1b349d63 100644 (file)
@@ -66,6 +66,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHY_VITESSE=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
index 1df850a88cf1c7c09dfd2f72691571527cb82661..c3542257afe996546df50200016864a7527f4d4c 100644 (file)
@@ -72,6 +72,7 @@ CONFIG_PHYLIB=y
 CONFIG_PHY_VITESSE=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
+CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
index aebeaffb5b11f87a8fd196c6773776c040c5c531..e502f61f4d7509d8fe560e611859b6faca5b241e 100644 (file)
@@ -71,6 +71,7 @@ CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_MDIO_MUX=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_MDIO_MUX_I2CREG=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_NVME=y
index 0f721e566f480f2c7f29ab3ac16aa5f2b032dfb7..98ad60abc7d103ecbeecca93fb4040fdf9e73dac 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_MDIO_MUX=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_MDIO_MUX_I2CREG=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_NVME=y
index 0c00c39213d5fcf51c032f94df1f929a97c891a5..153b020a87913bede5d24c86b10582218e10d49e 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_SYS_CORTINA_NO_FW_UPLOAD=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_NVME=y
 CONFIG_PCI=y
index 5560dcd249caffccdd43e6fe37608ebac3343de4..a1524244df0871e45b2a5954e471b5acb91a3866 100644 (file)
@@ -73,6 +73,7 @@ CONFIG_SYS_CORTINA_NO_FW_UPLOAD=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_NVME=y
 CONFIG_PCI=y
index 4e2ed18bca984193c89104f173b93caf283fd53c..4cdf4112b00c56e100130f0ccf43b24e7a6ce53e 100644 (file)
@@ -73,6 +73,7 @@ CONFIG_SYS_CORTINA_NO_FW_UPLOAD=y
 CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_NVME=y
 CONFIG_PCI=y
index 6c5abc82a2189b6be06f5fbf13080c892d9e3731..047ef6f8d0b3960be8f6352003b7341f6585e7cc 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_MDIO_MUX=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_MDIO_MUX_I2CREG=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_PCI=y
index feaea633a777615d4be86f6d03f43746741691d0..bd05d513df65cd195fa1ef66b2d8cac11a910885 100644 (file)
@@ -83,6 +83,7 @@ CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_MDIO_MUX=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_MDIO_MUX_I2CREG=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_PCI=y
index 930018540b4af9b2ecfe3f6bb32c051fb219a794..654c9b20158539a3eaae7d3059dd62bb7920093b 100644 (file)
@@ -84,6 +84,7 @@ CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_MDIO_MUX=y
 CONFIG_E1000=y
+CONFIG_MII=y
 CONFIG_MDIO_MUX_I2CREG=y
 CONFIG_FSL_LS_MDIO=y
 CONFIG_PCI=y
index 193c63e5fbd83b66bc21dfd51cd7dba61d216d80..48d75669cb5ed9f753d9267a2c3d44b7d389c2d7 100644 (file)
@@ -91,6 +91,7 @@ CONFIG_DM_ETH=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_FEC_MXC=y
+CONFIG_MII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX5=y
 CONFIG_DM_REGULATOR=y
index 539074649f7693ffa937ab02b6a56f050f748e35..20c7d45a463bc60d5533d69af8391dafcedab2c9 100644 (file)
@@ -71,6 +71,7 @@ CONFIG_PHY_ATHEROS=y
 CONFIG_DM_ETH=y
 CONFIG_FEC_MXC=y
 CONFIG_RGMII=y
+CONFIG_MII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_MXC_UART=y
index 0e898365b474f57d266c5d64c1ee33b556aea234..c866e0e2f0b5a52e6bd0974950f4b5ec87de3a22 100644 (file)
@@ -57,8 +57,12 @@ CONFIG_DM_I2C=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHYLIB=y
+CONFIG_PHY_ATHEROS=y
 CONFIG_DM_ETH=y
+CONFIG_PHY_GIGE=y
 CONFIG_FEC_MXC=y
+CONFIG_MII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX8M=y
 CONFIG_SPL_POWER_LEGACY=y
index 76a28dc761807dc87b34b395fbe992270b3629c9..7ab7f559e3ed0be155b22fb8e7aac5d33003d42f 100644 (file)
@@ -88,7 +88,6 @@ BUR_COMMON_ENV \
        (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
 
 /* Ethernet */
-#define CONFIG_MII
 #define CONFIG_FEC_XCV_TYPE            RGMII
 #define CONFIG_FEC_FIXED_SPEED         _1000BASET
 #define CONFIG_ARP_TIMEOUT             1500UL
index 53fbeffb453fddedfb272f4945be79f27b3ab19c..464c0c3db0593e774c8ea264620f3b23036fb7e2 100644 (file)
 /* ENET Config */
 /* ENET1 */
 #if defined(CONFIG_CMD_NET)
-#define CONFIG_MII
 #define CONFIG_ETHPRIME                 "FEC"
 
 #define CONFIG_FEC_XCV_TYPE             RGMII
 #define CONFIG_FEC_MXC_PHYADDR          0
 #define FEC_QUIRK_ENET_MAC
 
-#define CONFIG_PHY_GIGE
 #define IMX_FEC_BASE                   0x30BE0000
 #endif
 
index d17f70fc4b239c98e349208e23177e33d8a95a59..c45631a362fb815857b1a7135e8f92ae22305b21 100644 (file)
 /* ENET Config */
 /* ENET1 */
 #if defined(CONFIG_CMD_NET)
-#define CONFIG_MII
 #define CONFIG_ETHPRIME                 "FEC"
 
 #define CONFIG_FEC_XCV_TYPE             RGMII
 #define CONFIG_FEC_MXC_PHYADDR          0
 #define FEC_QUIRK_ENET_MAC
 
-#define CONFIG_PHY_GIGE
 #define IMX_FEC_BASE                   0x30BE0000
-
-#define CONFIG_PHYLIB
 #endif
 
 #define CONFIG_MFG_ENV_SETTINGS \
index 9b26fbc354e42e299983edccfae032cc6c7b01ae..d001acfd68a5730827893ebd89973e0869b8f5fc 100644 (file)
@@ -535,7 +535,6 @@ unsigned long get_board_sys_clk(void);
 #define XQSGMII_CARD_PHY4_PORT3_ADDR 0xf
 
 #define CONFIG_ETHPRIME                "DPMAC1@xgmii"
-#define CONFIG_PHY_GIGE                /* Include GbE speed/duplex detection */
 
 #endif
 
index f82b618e651e1176cccf5b1e9bbe5c83b168bb6f..6ad1fea3c832ccfb4334e85302a6e3b1b7df4824 100644 (file)
 #define QSGMII2_PORT4_PHY_ADDR         0x1f
 
 #define CONFIG_ETHPRIME                "DPMAC1@xgmii"
-#define CONFIG_PHY_GIGE
 #endif
 #endif
 
index 30b044bd00721406834fe19895fb7cfa3067ec04..a04bbb6e6eb05b2cbdcb61dead29a7c62c72c65c 100644 (file)
@@ -29,7 +29,6 @@ u8 qixis_esdhc_detect_quirk(void);
 
 /* MAC/PHY configuration */
 #if defined(CONFIG_FSL_MC_ENET)
-#define CONFIG_MII
 #define CONFIG_ETHPRIME                "DPMAC17@rgmii-id"
 #endif
 
index ebe5004f440929d0039cbfcc14eaffb9a1be4749..4fd3e54830930b15eb4840582c0890829836f494 100644 (file)
@@ -19,7 +19,6 @@
 
 /* MAC/PHY configuration */
 #if defined(CONFIG_FSL_MC_ENET)
-#define CONFIG_MII
 #define CONFIG_ETHPRIME                "DPMAC1@xgmii"
 #endif
 
index f1b4e1cc4db8b09cb80612ff092a1b93ca73e73e..67c469c0090d46cdfcfc952dc4360f32e22009a8 100644 (file)
@@ -33,7 +33,6 @@ u8 qixis_esdhc_detect_quirk(void);
 
 /* MAC/PHY configuration */
 #if defined(CONFIG_FSL_MC_ENET)
-#define CONFIG_MII
 #define CONFIG_ETHPRIME                "DPMAC17@rgmii-id"
 #endif
 
index 32f8e633c1212c4fd18eb0aded58a966cc20ca0a..f94cf28b1353b63b497ee9fe8bb446751e49b43b 100644 (file)
@@ -75,7 +75,6 @@
 #ifdef CONFIG_CMD_NET
 #define IMX_FEC_BASE                   FEC_BASE_ADDR
 #define CONFIG_FEC_MXC_PHYADDR         0x0
-#define CONFIG_MII
 #define CONFIG_DISCOVER_PHY
 #define CONFIG_FEC_XCV_TYPE            RMII
 #define CONFIG_ETHPRIME                        "FEC0"
index 817e7140d8541d76201f271c69714f3f82bb3f0b..2528d319d1f5f9c52a4b2b496ba5b567efb65479 100644 (file)
 #define CONFIG_BOARD_SIZE_LIMIT                715776
 
 /* Ethernet Configuration */
-#define CONFIG_MII
 #define IMX_FEC_BASE                   ENET_BASE_ADDR
 #define CONFIG_FEC_XCV_TYPE            RGMII
 #define CONFIG_ETHPRIME                        "FEC"
index 2afcf0059d50be4633bd67ec266f9763671e8dc4..51858ee9343b0a829ccead0e889ba8d6a472db6a 100644 (file)
 /* ENET Config */
 /* ENET1 */
 #if defined(CONFIG_CMD_NET)
-#define CONFIG_MII
 #define CONFIG_ETHPRIME                        "FEC"
 
 #define CONFIG_FEC_XCV_TYPE            RGMII
 #define CONFIG_FEC_MXC_PHYADDR         1
 #define FEC_QUIRK_ENET_MAC
 
-#define CONFIG_PHY_GIGE
 #define IMX_FEC_BASE                   0x30BE0000
-
-#define CONFIG_PHYLIB
-#define CONFIG_PHY_ATHEROS
 #endif
 
 /* Initial environment variables */