[U-Boot] [PATCH] usb: add dependency with generic PHY support
Patrick Delaunay
patrick.delaunay at st.com
Fri Jul 21 12:50:42 UTC 2017
select CONFIG_PHY when phy is used in driver
- USB_EHCI_GENERIC
- USB_OHCI_GENERIC
- USB_XHCI_DWC3
Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
---
drivers/usb/host/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 67ad72b..553f74b 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -17,6 +17,7 @@ if USB_XHCI_HCD
config USB_XHCI_DWC3
bool "DesignWare USB3 DRD Core Support"
+ select PHY
help
Say Y or if your system has a Dual Role SuperSpeed
USB controller based on the DesignWare USB3 IP Core.
@@ -161,6 +162,7 @@ config USB_EHCI_GENERIC
bool "Support for generic EHCI USB controller"
depends on OF_CONTROL
depends on DM_USB
+ select PHY
default n
---help---
Enables support for generic EHCI controller.
@@ -186,6 +188,7 @@ config USB_OHCI_GENERIC
depends on OF_CONTROL
depends on DM_USB
select USB_HOST
+ select PHY
---help---
Enables support for generic OHCI controller.
--
2.7.4
More information about the U-Boot
mailing list