]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_CMD_ETHSW to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:17 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 13:33:56 +0000 (09:33 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_ETHSW

Also enable it for sandbox to increase build coverage.

Signed-off-by: Simon Glass <sjg@chromium.org>
18 files changed:
cmd/Kconfig
configs/T1040D4RDB_NAND_defconfig
configs/T1040D4RDB_SDCARD_defconfig
configs/T1040D4RDB_SECURE_BOOT_defconfig
configs/T1040D4RDB_SPIFLASH_defconfig
configs/T1040D4RDB_defconfig
configs/T1040QDS_DDR4_defconfig
configs/T1040QDS_SECURE_BOOT_defconfig
configs/T1040QDS_defconfig
configs/T1040RDB_NAND_defconfig
configs/T1040RDB_SDCARD_defconfig
configs/T1040RDB_SECURE_BOOT_defconfig
configs/T1040RDB_SPIFLASH_defconfig
configs/T1040RDB_defconfig
configs/sandbox_defconfig
include/configs/T1040QDS.h
include/configs/T104xRDB.h
scripts/config_whitelist.txt

index ab09a9f52842d33d148bfca2f690b7c7847805e1..cc959f6a4a3d72caa670b96611e84ab385d77440 100644 (file)
@@ -711,6 +711,14 @@ config CMD_LINK_LOCAL
        help
          Acquire a network IP address using the link-local protocol
 
+config CMD_ETHSW
+       bool "ethsw"
+       help
+         Allow control of L2 Ethernet switch commands. These are supported
+         by the vsc9953 Ethernet driver at present. Sub-commands allow
+         operations such as enabling / disabling a port and
+         viewing/maintaining the filtering database (FDB)
+
 endmenu
 
 menu "Misc commands"
index bf239bd104c60b9ce270bdc8336ca0af2341fcc0..c22bf9ce8c5338276de695ca5f09a430a1b0b5c3 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index e6a5b83f7f86e53344091b101beeace74d74c9ab..63010c546cf8482d5be615fdc9d887e94ae44a64 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index b0edffaacf93c575301d211b88724507c799f9e4..47582578cf25f952584fe2b73419bf6ee3ce74b7 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_DM=y
index e99809be3dcd720e6b4fcd2a64233cb102859aea..2a872b930fca6257e79a0a5ba13669ca9c7c1e66 100644 (file)
@@ -29,6 +29,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index 355d6ab3f01a2ff9bf277dffcaa005c3197c69c2..82d614051875f92e54bfc98089a04da6ad397016 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index 6ebde4d2df1045472c964af9040a286908aec07d..063ae20c83de12beaf483c8f21e216f25afe17a7 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
index e437cdac351386f989d64047087666ac4226a33d..a75ee03bcf2ad3730e86c463c32145e78bd3e9f3 100644 (file)
@@ -22,6 +22,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
index 7b96193c85a489b62c54a7e744363e5f850745b1..5d8cdf13833555042c5be45ae1391b59eadec122 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
index a427cf18c4af49e1cf8cb35ed2fd7750078b27fa..b3e9c412b9ede96b069a80573725c506392a39d7 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index 2d2585f8c189159ccd52e70c9086e3397a19687c..7b2187cf9cb628ae0eb6d5017f8f497f5417d87d 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index c15f600d50c2a4871ce8534c11c9ed4b5b59ef61..f16834b85c5821e4b4f3168b7b9ab341fb7cbe11 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_DM=y
index f0c60001c3e6bad102f6d76d492f255d40aabbac..9f5a8c4e9ce030f5e239071092c24795fcc0fe6c 100644 (file)
@@ -29,6 +29,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index 1fca4a411bd9dd935efe63fa66bb90a9a2822331..7d6ed1bb72c14f5ad1280ada69897f1c4b62f7d7 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_ETHSW=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_FSL_CAAM=y
index 9e46fa6a3728ca5c18c889da28772f9ca8a95c6f..3b136e88c2c5d64c23ccac3b732afc0bebdcc213 100644 (file)
@@ -184,5 +184,6 @@ CONFIG_UNIT_TEST=y
 CONFIG_UT_TIME=y
 CONFIG_UT_DM=y
 CONFIG_UT_ENV=y
+CONFIG_CMD_ETHSW=y
 CONFIG_WDT=y
 CONFIG_WDT_SANDBOX=y
index 108369144968bb1e597461806b7b6d8c4e75beac..58cbe6bb759890eb0decf95132a4a74bc76be94f 100644 (file)
@@ -629,7 +629,6 @@ unsigned long get_board_ddr_clk(void);
 
 /* Enable VSC9953 L2 Switch driver */
 #define CONFIG_VSC9953
-#define CONFIG_CMD_ETHSW
 #define CONFIG_SYS_FM1_QSGMII11_PHY_ADDR       0x14
 #define CONFIG_SYS_FM1_QSGMII21_PHY_ADDR       0x18
 
index 214197353aac8552e01c4e1c77581be2de75e4e4..9daad2192ff2eca1495394438588d405c39adeef 100644 (file)
@@ -748,7 +748,6 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /* Enable VSC9953 L2 Switch driver on T1040 SoC */
 #if defined(CONFIG_TARGET_T1040RDB) || defined(CONFIG_TARGET_T1040D4RDB)
 #define CONFIG_VSC9953
-#define CONFIG_CMD_ETHSW
 #ifdef CONFIG_TARGET_T1040RDB
 #define CONFIG_SYS_FM1_QSGMII11_PHY_ADDR       0x04
 #define CONFIG_SYS_FM1_QSGMII21_PHY_ADDR       0x08
index 01e44eea4cf12c523f27783be7dd247740adf7ac..6887a0e4af950ccdbc0fd511402973d1a46e50d8 100644 (file)
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_ETHSW
 CONFIG_CMD_FDC
 CONFIG_CMD_FDT_MAX_DUMP
 CONFIG_CMD_FPGAD