mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
Convert CONFIG_CMD_ETHSW to Kconfig
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>
This commit is contained in:
parent
ea7971f705
commit
ef072200fa
18 changed files with 22 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue