]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/usb/host/Makefile
dm: usb: Add a uclass for USB controllers
[karo-tx-uboot.git] / drivers / usb / host / Makefile
index eb6f34b53cb686a6cbd093482661fb96c01ced6a..9419295d0dc96a836e8334639cc04e26c0cf58f4 100644 (file)
@@ -5,6 +5,10 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+ifdef CONFIG_DM_USB
+obj-$(CONFIG_CMD_USB) += usb-uclass.o
+endif
+
 # ohci
 obj-$(CONFIG_USB_OHCI_NEW) += ohci-hcd.o
 obj-$(CONFIG_USB_ATMEL) += ohci-at91.o