mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
0131162439
UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host controllers, not gadget devices. Adding a new UCLASS for gadget devices alone. Also move the generic DM code for USB gadgets in a separate file for clarity. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
9 lines
223 B
Makefile
9 lines
223 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# USB peripheral controller drivers
|
|
|
|
ifndef CONFIG_$(SPL_)DM_USB_GADGET
|
|
obj-$(CONFIG_USB_DWC3_GADGET) += udc-core.o
|
|
endif
|
|
|
|
obj-$(CONFIG_$(SPL_)DM_USB_GADGET) += udc-uclass.o udc-core.o
|