[U-Boot] [PATCH 4/5] spl: Add common usb support in spl if needed
Adrian Ratiu
adrian.ratiu at collabora.com
Tue Feb 12 17:05:21 UTC 2019
From: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
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 <sjoerd.simons at collabora.co.uk>
---
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
More information about the U-Boot
mailing list