From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iahz9-0006mJ-Sh for barebox@lists.infradead.org; Fri, 29 Nov 2019 15:15:12 +0000 Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1iahz8-0006u0-L0 for barebox@lists.infradead.org; Fri, 29 Nov 2019 16:15:06 +0100 From: Lucas Stach Date: Fri, 29 Nov 2019 16:14:40 +0100 Message-Id: <20191129151505.23946-15-l.stach@pengutronix.de> In-Reply-To: <20191129151505.23946-1-l.stach@pengutronix.de> References: <20191129151505.23946-1-l.stach@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 14/39] usb: dwc3: depend on OFDEVICE To: barebox@lists.infradead.org The DWC3 driver uses some functions which are only available when Barebox is built with OFDEVICE support. Since there is no platform without DT support suing DWC3 we can reasonably depend on this config option. Signed-off-by: Lucas Stach --- drivers/usb/dwc3/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig index 09da1213744d..9d7b868dbafa 100644 --- a/drivers/usb/dwc3/Kconfig +++ b/drivers/usb/dwc3/Kconfig @@ -1,6 +1,7 @@ config USB_DWC3 tristate "DesignWare USB3 DRD Core Support" depends on USB && HAS_DMA + depends on OFDEVICE select USB_XHCI help Say Y or M here if your system has a Dual Role SuperSpeed -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox