From: Sjoerd Simons <sjoerd.sim...@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.sim...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to