mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-19 03:03:22 +09: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>
10 lines
223 B
Makefile
10 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
|