diff mbox series

[U-Boot,v2,4/4] arm: baltos: migrate Ethernet PHYs configuration to Kconfig

Message ID 20181122081933.11318-4-yegorslists@googlemail.com
State Accepted
Commit 8ce7f2c11577a0353a1bc7ddeff3c751f66f3521
Delegated to: Tom Rini
Headers show
Series [U-Boot,v2,1/4] arm: baltos: move the board to CONFIG_BLK | expand

Commit Message

Yegor Yefremov Nov. 22, 2018, 8:19 a.m. UTC
From: Yegor Yefremov <yegorslists@googlemail.com>

Remove CONFIG_PHY_ATHEROS and CONFIG_PHY_SMSC from defconfig
and select them in Kconfig.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 configs/am335x_baltos_defconfig | 2 ++
 include/configs/baltos.h        | 4 ----
 2 files changed, 2 insertions(+), 4 deletions(-)

Comments

Simon Glass Nov. 27, 2018, 1:02 a.m. UTC | #1
On Thu, 22 Nov 2018 at 01:19, <yegorslists@googlemail.com> wrote:
>
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Remove CONFIG_PHY_ATHEROS and CONFIG_PHY_SMSC from defconfig
> and select them in Kconfig.
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
>  configs/am335x_baltos_defconfig | 2 ++
>  include/configs/baltos.h        | 4 ----
>  2 files changed, 2 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini Dec. 3, 2018, 10:49 p.m. UTC | #2
On Thu, Nov 22, 2018 at 09:19:33AM +0100, yegorslists@googlemail.com wrote:

> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Remove CONFIG_PHY_ATHEROS and CONFIG_PHY_SMSC from defconfig
> and select them in Kconfig.
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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