From: yegorslists at googlemail.com Date: Thu, 22 Nov 2018 09:19:33 +0100 Subject: [U-Boot] [PATCH v2 4/4] arm: baltos: migrate Ethernet PHYs configuration to Kconfig In-Reply-To: <20181122081933.11318-1-yegorslists@googlemail.com> References: <20181122081933.11318-1-yegorslists@googlemail.com> Message-ID: <20181122081933.11318-4-yegorslists@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Yegor Yefremov Remove CONFIG_PHY_ATHEROS and CONFIG_PHY_SMSC from defconfig and select them in Kconfig. Signed-off-by: Yegor Yefremov --- configs/am335x_baltos_defconfig | 2 ++ include/configs/baltos.h | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig index 74fd487097..05d41aea87 100644 --- a/configs/am335x_baltos_defconfig +++ b/configs/am335x_baltos_defconfig @@ -50,6 +50,8 @@ CONFIG_NAND=y CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y CONFIG_SYS_NAND_U_BOOT_OFFS=0x00080000 CONFIG_PHY_ADDR_ENABLE=y +CONFIG_PHY_ATHEROS=y +CONFIG_PHY_SMSC=y CONFIG_MII=y CONFIG_DRIVER_TI_CPSW=y CONFIG_SPI=y diff --git a/include/configs/baltos.h b/include/configs/baltos.h index 7b5f652f7e..ccbdc0a335 100644 --- a/include/configs/baltos.h +++ b/include/configs/baltos.h @@ -257,10 +257,6 @@ #define CONFIG_AM335X_USB1 #define CONFIG_AM335X_USB1_MODE MUSB_OTG -/* Network. */ -#define CONFIG_PHY_SMSC -#define CONFIG_PHY_ATHEROS - /* NAND support */ #ifdef CONFIG_NAND #define GPMC_NAND_ECC_LP_x8_LAYOUT 1 -- 2.17.0