aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/Makefile
diff options
context:
space:
mode:
authorAngus Ainslie <angus@akkea.ca>2022-07-14 08:11:11 -0700
committerMarek Vasut <marex@denx.de>2022-07-15 14:10:39 +0200
commit582ce23c7870b93e361083b1578ae45ed61df9b6 (patch)
tree2b2fbff2bf234ccc56d87d04b55c026576bec504 /drivers/usb/dwc3/Makefile
parent26f6f7fb5c0651d65afdee6d8ed36063606179a8 (diff)
downloadu-boot-582ce23c7870b93e361083b1578ae45ed61df9b6.zip
u-boot-582ce23c7870b93e361083b1578ae45ed61df9b6.tar.gz
u-boot-582ce23c7870b93e361083b1578ae45ed61df9b6.tar.bz2
usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver
Suppress warnings when building the SPL without USB_DWC3_GENERIC Signed-off-by: Angus Ainslie <angus@akkea.ca>
Diffstat (limited to 'drivers/usb/dwc3/Makefile')
-rw-r--r--drivers/usb/dwc3/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile
index 0dd1ba8..97b4f71 100644
--- a/drivers/usb/dwc3/Makefile
+++ b/drivers/usb/dwc3/Makefile
@@ -9,7 +9,7 @@ obj-$(CONFIG_USB_DWC3_GADGET) += gadget.o ep0.o
obj-$(CONFIG_USB_DWC3_OMAP) += dwc3-omap.o
obj-$(CONFIG_USB_DWC3_MESON_G12A) += dwc3-meson-g12a.o
obj-$(CONFIG_USB_DWC3_MESON_GXL) += dwc3-meson-gxl.o
-obj-$(CONFIG_USB_DWC3_GENERIC) += dwc3-generic.o
+obj-$(CONFIG_$(SPL_)USB_DWC3_GENERIC) += dwc3-generic.o
obj-$(CONFIG_USB_DWC3_UNIPHIER) += dwc3-uniphier.o
obj-$(CONFIG_USB_DWC3_LAYERSCAPE) += dwc3-layerscape.o
obj-$(CONFIG_USB_DWC3_PHY_OMAP) += ti_usb_phy.o