Skip to contentSkip to conversation

Kconfig/ehci/zynq: Add ULPI dependency

PATCH New Olliver Schinagl 1 participant 1 message Jan 23, 2020 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig/ehci/zynq: Add ULPI dependency

The ZYNQ has an ULPI interface to a USB PHY and thus depends on it. Prevents the following compilation problem.

drivers/usb/host/built-in.o: In function `ehci_zynq_probe':
drivers/usb/host/ehci-zynq.c:53: undefined reference to ulpi_init' drivers/usb/host/ehci-zynq.c:60: undefined reference to ulpi_write' drivers/usb/host/ehci-zynq.c:63: undefined reference to ulpi_write' drivers/usb/host/ehci-zynq.c:66: undefined reference to ulpi_write' drivers/usb/host/ehci-zynq.c:69: undefined reference to `ulpi_write'

---
 drivers/usb/host/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/usb/host/Kconfig +2 -0
index 0987ff25b1..557264452b 100644
@@ -196,6 +196,8 @@ config USB_EHCI_TEGRA
 config USB_EHCI_ZYNQ
 	bool "Support for Xilinx Zynq on-chip EHCI USB controller"
 	depends on ARCH_ZYNQ
+	select USB_ULPI
+	select USB_ULPI_VIEWPORT
 	default y
 	---help---
 	  Enable support for Zynq on-chip EHCI USB controller
Signature · 1 line
2.20.1