]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_VSC7385_ENET et al to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 19 Nov 2022 23:45:39 +0000 (18:45 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 21:08:38 +0000 (16:08 -0500)
This converts the following to Kconfig:
   CONFIG_VSC7385_ENET
   CONFIG_VSC9953

Signed-off-by: Tom Rini <trini@konsulko.com>
25 files changed:
configs/MPC837XERDB_defconfig
configs/P1020RDB-PC_36BIT_NAND_defconfig
configs/P1020RDB-PC_36BIT_SDCARD_defconfig
configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig
configs/P1020RDB-PC_36BIT_defconfig
configs/P1020RDB-PC_NAND_defconfig
configs/P1020RDB-PC_SDCARD_defconfig
configs/P1020RDB-PC_SPIFLASH_defconfig
configs/P1020RDB-PC_defconfig
configs/P1020RDB-PD_NAND_defconfig
configs/P1020RDB-PD_SDCARD_defconfig
configs/P1020RDB-PD_SPIFLASH_defconfig
configs/P1020RDB-PD_defconfig
configs/P2020RDB-PC_36BIT_NAND_defconfig
configs/P2020RDB-PC_36BIT_SDCARD_defconfig
configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig
configs/P2020RDB-PC_36BIT_defconfig
configs/P2020RDB-PC_NAND_defconfig
configs/P2020RDB-PC_SDCARD_defconfig
configs/P2020RDB-PC_SPIFLASH_defconfig
configs/P2020RDB-PC_defconfig
drivers/net/Kconfig
include/configs/MPC837XERDB.h
include/configs/T104xRDB.h
include/configs/p1_p2_rdb_pc.h

index b00655824e25060aca453848fe1123f11f504ebb..1a571cf6bcedca478024e6d728445de1e60a0f09 100644 (file)
@@ -206,6 +206,7 @@ CONFIG_DM_MDIO=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_RGMII=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_RTC_DS1374=y
 CONFIG_SYS_NS16550_SERIAL=y
index 79df4a8f0110ae99de36543518b910945bf3ccf6..b9d52a755da27908403bea13e3e8a154a4c6a64b 100644 (file)
@@ -139,6 +139,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index d70db00236e540f8ec11399cb33e3af82283606c..f86bc553da4f2b2cbccd716680fc06f8e4b17b43 100644 (file)
@@ -121,6 +121,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index b885a2a5f339fa72b28fb6549344f898a5cae400..0b9e108ba581b4f96a9cc1e45db436c06b2bee8a 100644 (file)
@@ -123,6 +123,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 710a41915c2dc94c2d0279b16dc4b47ec42c5eaa..9f68ede4bef4a775042cf38ea8248af75f5b978c 100644 (file)
@@ -101,6 +101,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index f40e001b51a62ec8b8fe9047d4c85ccf5a3ab4ab..3dd2475643d992b2485eca1afa1e9e46ad577976 100644 (file)
@@ -138,6 +138,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index e320ea9b42844b457b2136f7d241b984779b7425..bd64dcc9ef4070651662f389828319df02f0d473 100644 (file)
@@ -120,6 +120,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index d6a188c27e9c02c89414e523f2f7e8654fa02a22..140d271a1970dd971af2bbd3824846f1392ce8a3 100644 (file)
@@ -122,6 +122,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index b369b2fad3c2a841cdcd00e95fc142d859762745..3f653895abf6286ef9e7905fddf7a006dc51d563 100644 (file)
@@ -100,6 +100,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 7e31f130be13a629e8ac9f5e7bc70dd3d39ecb27..abe064c04e9696f8f6595d482d1cdf5b5c348b63 100644 (file)
@@ -141,6 +141,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index f671d0b1d5ab6e64f31b828640d4c35ebd8087eb..78a54dd461daa3cad518be960def05b299044007 100644 (file)
@@ -123,6 +123,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 109f03b3b8f0314aa209e90352986c88ab034ce4..a8bdb5a22093ffbb29ee71e25224230a828900d9 100644 (file)
@@ -125,6 +125,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 7f8cba1483b39d23bdf50d77cb8a59684066a064..7a533ed41d7cba062668b0314716ce0ce004bb14 100644 (file)
@@ -103,6 +103,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 228c5f9e89a8b5f0238cd968b5f5feaa8cb1d9b2..3abb9d7f75b80f6fade86248a93d713df548dc20 100644 (file)
@@ -144,6 +144,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index ca2b37fcb2f010c442614b27c71454a3cf2bc918..551b5fca8e0eea5f9a1be65b39986a4910240e0c 100644 (file)
@@ -126,6 +126,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index f83360a87ae331f831b7ee2a8b37115dc5027cf8..493e2c94c142bd241db71f9b9f90312acfd4c7ff 100644 (file)
@@ -128,6 +128,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 524101022d505fbfe65ee7432db2e319c788da07..fc82fa8ab982e7d802dc099de7870b4d6946ecae 100644 (file)
@@ -106,6 +106,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 4f22e240b204b9e073826bda0db58c754b007a43..b6ae81dd4253b26c2060311b41cb8552d5d3e803 100644 (file)
@@ -143,6 +143,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 84e0b4e1a1a03e42cd876fdc968939f1a471dfcd..cfbb3c274eeac9017fd57092ab25d2e02c4515b7 100644 (file)
@@ -125,6 +125,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index a0ce9a9533f8eb70ccf6953729d2217c83b8c359..36c6c7e26e66f719b442c6d78604d1fee46be321 100644 (file)
@@ -127,6 +127,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index e15c487c427cc09dbcd2d4d2a811b304df1a21be..691df7cc21b25a5f05ec51fdcda115aac37d42b2 100644 (file)
@@ -105,6 +105,7 @@ CONFIG_DM_MDIO=y
 CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_MII=y
+CONFIG_VSC7385_ENET=y
 CONFIG_TSEC_ENET=y
 CONFIG_PCIE_FSL=y
 CONFIG_DM_RTC=y
index 029bf3872aa5dcd83006c16eeb51241f2fe6a3ed..13e434e5913966d5222e84a97f070255871cee40 100644 (file)
@@ -676,6 +676,12 @@ config XILINX_AXIMRMAC
          rates from 10GE to 100GE. This could be present in some of the Xilinx
          Versal designs.
 
+config VSC7385_ENET
+       bool "Vitesse 7385 Switch Firmware Upload driver"
+
+config VSC9953
+       bool "Vitesse VSC9953 L2 Switch driver"
+
 config XILINX_EMACLITE
        select PHYLIB
        select MII
index de63a0f1993f870a78d4e6ab705688ec0806ce2d..95a90199a4295ffe99b24c6b8f2f02db5586bee9 100644 (file)
  * High Level Configuration Options
  */
 
-/*
- * On-board devices
- */
-#define CONFIG_VSC7385_ENET
-
 /* System performance - define the value i.e. CONFIG_SYS_XXX
 */
 
index d3fd10526bd9c400132f574fae502e758b0ac7c4..b6938056bbe1873e787205a256c89e7e67747968 100644 (file)
 
 /* Enable VSC9953 L2 Switch driver on T1040 SoC */
 #if defined(CONFIG_TARGET_T1040RDB) || defined(CONFIG_TARGET_T1040D4RDB)
-#define CONFIG_VSC9953
 #ifdef CONFIG_TARGET_T1040RDB
 #define CFG_SYS_FM1_QSGMII11_PHY_ADDR  0x04
 #define CFG_SYS_FM1_QSGMII21_PHY_ADDR  0x08
index c8acce8b06b7951d55ed06e11a02d2c9774e78c5..9738e9fa9cb759aea6875b60de2fcfb7189ae65c 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/stringify.h>
 
 #if defined(CONFIG_TARGET_P1020RDB_PC)
-#define CONFIG_VSC7385_ENET
 #define CONFIG_SLIC
 #define __SW_BOOT_MASK         0x03
 #define __SW_BOOT_NOR          0x5c
@@ -43,7 +42,6 @@
  * 011101 800 800 400 667 PCIe-2 Core0 boot; Core1 hold-off
  */
 #if defined(CONFIG_TARGET_P1020RDB_PD)
-#define CONFIG_VSC7385_ENET
 #define CONFIG_SLIC
 #define __SW_BOOT_MASK         0x03
 #define __SW_BOOT_NOR          0x64
@@ -63,7 +61,6 @@
 #endif
 
 #if defined(CONFIG_TARGET_P2020RDB)
-#define CONFIG_VSC7385_ENET
 #define __SW_BOOT_MASK         0x03
 #define __SW_BOOT_NOR          0xc8
 #define __SW_BOOT_SPI          0x28