
20 Apr
2022
20 Apr
'22
11:26 a.m.
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.
Changelog:
v2: Use __maybe_unused instead of an #ifdef
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, 8 insertions(+), 6 deletions(-)
--
2.32.0