From patchwork Thu Jan 23 08:28:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olliver Schinagl X-Patchwork-Id: 239955 List-Id: U-Boot discussion From: oliver at schinagl.nl (Olliver Schinagl) Date: Thu, 23 Jan 2020 09:28:12 +0100 Subject: [PATCH] Kconfig/ehci/zynq: Add ULPI dependency Message-ID: <20200123082812.23237-1-oliver@schinagl.nl> 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 --- 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