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: 1227711 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=schinagl.nl Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=schinagl.nl header.i=@schinagl.nl header.a=rsa-sha256 header.s=7of9 header.b=gPc0Y8F1; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 483Flr42vLz9sR1 for ; Thu, 23 Jan 2020 19:28:24 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D93AA81897; Thu, 23 Jan 2020 09:28:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=schinagl.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=schinagl.nl header.i=@schinagl.nl header.b="gPc0Y8F1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7B5CD818C1; Thu, 23 Jan 2020 09:28:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from 7of9.schinagl.nl (7of9.schinagl.nl [62.251.20.244]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5244181744 for ; Thu, 23 Jan 2020 09:28:18 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=schinagl.nl Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=oliver@schinagl.nl Received: from 3of9.evbox.com (unknown [83.232.59.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by 7of9.schinagl.nl (Postfix) with ESMTPSA id 9124212D0557; Thu, 23 Jan 2020 09:28:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schinagl.nl; s=7of9; t=1579768098; bh=R2funbqyMRk4X46smhbeQYf8RgW/Y1DbZ5I1or7/Gdw=; h=From:To:Cc:Subject:Date; b=gPc0Y8F1HvzqKW3p9eDTpGSg5n8Vz9butxJzCEvYfjbhRY83hBqRdgQslIKuoJh7U 02eqJ8iqsSGN0iGM3TCY81Azb6syPoXaH807jm+YCFl6I2CH7bEX1Y5NkUlEkYTtK9 WLJ1K6nzKaIMmzRmZS/s4LY8phS1wBHV/wERcjm4= From: Olliver Schinagl To: Michal Simek Subject: [PATCH] Kconfig/ehci/zynq: Add ULPI dependency Date: Thu, 23 Jan 2020 09:28:12 +0100 Message-Id: <20200123082812.23237-1-oliver@schinagl.nl> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olliver Schinagl , u-boot@lists.denx.de, Olliver Schinagl Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean 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