aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2017-08-28 20:50:45 +1200
committerTom Rini <trini@konsulko.com>2017-09-08 10:21:46 -0400
commitae3584498bf81aa3be9ae6f90fbb04e07d707276 (patch)
treef285a4759f65939d6d329f5566989a0cfe547340 /drivers
parent8ffb23cbf58c0a8f484f27a876d1d301dcbe117d (diff)
downloadu-boot-ae3584498bf81aa3be9ae6f90fbb04e07d707276.zip
u-boot-ae3584498bf81aa3be9ae6f90fbb04e07d707276.tar.gz
u-boot-ae3584498bf81aa3be9ae6f90fbb04e07d707276.tar.bz2
usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig
CONFIG_USB_HOST_ETHER is the framework that the drivers are dependent on USB_HOST_ETHER. Use this as a menu and move the existing LAN75XX and LAN78XX options under new menu. Finally update the defconfigs that need CONFIG_USB_HOST_ETHER. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/eth/Kconfig12
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/usb/eth/Kconfig b/drivers/usb/eth/Kconfig
index 14cfa26..ab0fb6c 100644
--- a/drivers/usb/eth/Kconfig
+++ b/drivers/usb/eth/Kconfig
@@ -1,7 +1,14 @@
-comment "USB to Ethernet Controller Drivers"
+menuconfig USB_HOST_ETHER
+ bool "USB to Ethernet Controller Drivers"
+ ---help---
+ Say Y here if you would like to enable support for USB Ethernet
+ adapters.
+
+if USB_HOST_ETHER
config USB_ETHER_LAN75XX
bool "Microchip LAN75XX support"
+ depends on USB_HOST_ETHER
---help---
Say Y here if you would like to support Microchip LAN75XX Hi-Speed
USB 2.0 to 10/100/1000 Gigabit Ethernet controller.
@@ -10,8 +17,11 @@ config USB_ETHER_LAN75XX
config USB_ETHER_LAN78XX
bool "Microchip LAN78XX support"
+ depends on USB_HOST_ETHER
---help---
Say Y here if you would like to support Microchip LAN78XX USB 3.1
Gen 1 to 10/100/1000 Gigabit Ethernet controller.
Supports 10Base-T/ 100Base-TX/1000Base-T.
This driver supports the internal PHY.
+
+endif