From: Adrian Ratiu Date: Tue, 12 Feb 2019 19:05:21 +0200 Subject: [U-Boot] [PATCH 4/5] spl: Add common usb support in spl if needed In-Reply-To: <20190212170522.27262-1-adrian.ratiu@collabora.com> References: <20190212170522.27262-1-adrian.ratiu@collabora.com> Message-ID: <20190212170522.27262-4-adrian.ratiu@collabora.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Sjoerd Simons If build into the SPL at least the MUSB USB driver needs the common usb functionality (e.g. parsing of the DR role dt property), so build this. Signed-off-by: Sjoerd Simons --- scripts/Makefile.spl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 9d5921606e1..52afe5bca8f 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -87,6 +87,7 @@ endif endif libs-y += drivers/ +libs-$(CONFIG_SPL_USB_SUPPORT) += drivers/usb/common/ libs-$(CONFIG_SPL_USB_GADGET) += drivers/usb/dwc3/ libs-y += dts/ libs-y += fs/ -- 2.20.1