All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Kconfig/ehci/zynq: Add ULPI dependency
@ 2020-01-23  8:28 Olliver Schinagl
  0 siblings, 0 replies; only message in thread
From: Olliver Schinagl @ 2020-01-23  8:28 UTC (permalink / raw)
  To: u-boot

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'

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
---
 drivers/usb/host/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 0987ff25b1..557264452b 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -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
-- 
2.20.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-23  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23  8:28 [PATCH] Kconfig/ehci/zynq: Add ULPI dependency Olliver Schinagl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.