[PATCH 0/2] usb: dwc3: Fix build without driver model
Alban Bedel
alban.bedel at aerq.com
Tue Apr 19 09:52:22 CEST 2022
Hi everyone,
Platform with DWC3 that need USB support in the SPL might not be able
to use the driver model there while the main u-boot is using driver model.
This series allow building with such a configuration, it first fix 2 warnings
when the core is built without driver model and then fix the SPL linking when
one of the glue driver is enabled for the main u-boot.
Alban Bedel (2):
usb: dwc3: core: Fix warnings when building without driver model
usb: dwc3: Don't build DM drivers in SPL unless DM USB is available
drivers/usb/dwc3/Makefile | 9 ++++++---
drivers/usb/dwc3/core.c | 5 +++--
2 files changed, 9 insertions(+), 5 deletions(-)
--
2.32.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3627 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220419/c7aaf1ee/attachment.bin>
More information about the U-Boot
mailing list