arm: baltos: migrate Ethernet PHYs configuration to Kconfig
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 22 Nov 2018 08:19:33 +0000 (09:19 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 3 Dec 2018 15:44:10 +0000 (10:44 -0500)
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>
configs/am335x_baltos_defconfig
include/configs/baltos.h

index 74fd48709755a75fa6581fa8d6ac6d5a2bd0cd75..05d41aea87ef7f4ccd5e471c84648a4df2cf602c 100644 (file)
@@ -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
index 7b5f652f7e7d58304dc93757bb5a8d3f728a675e..ccbdc0a335664787fdccbbae10fec1d7d2b679b3 100644 (file)
 #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