summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2018-11-22 09:19:33 +0100
committerTom Rini <trini@konsulko.com>2018-12-03 10:44:10 -0500
commit8ce7f2c11577a0353a1bc7ddeff3c751f66f3521 (patch)
tree3b0bef016f65a4301eff70db5829c244e4547ec6
parent1abff55a199b733c1addb8792db33ad5054bcd21 (diff)
downloadu-boot-8ce7f2c11577a0353a1bc7ddeff3c751f66f3521.tar.gz
arm: baltos: migrate Ethernet PHYs configuration to Kconfig
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>
-rw-r--r--configs/am335x_baltos_defconfig2
-rw-r--r--include/configs/baltos.h4
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