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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user