diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 12:21:59 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:20 -0600 |
commit | de31213fb8f1cc25f7e9096029a44dee7a774167 (patch) | |
tree | 224edb789248837681a889d5ace46131fefe776d /drivers/usb/host/Makefile | |
parent | 56a71f891b78351e949d98bdfc14d89fd0782640 (diff) | |
download | blackbird-obmc-uboot-de31213fb8f1cc25f7e9096029a44dee7a774167.tar.gz blackbird-obmc-uboot-de31213fb8f1cc25f7e9096029a44dee7a774167.zip |
dm: usb: Add a uclass for USB controllers
Add a uclass that can represent a USB controller. For now we do not create
devices for things attached to the controller. This will be added later.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/host/Makefile')
-rw-r--r-- | drivers/usb/host/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index eb6f34b53c..9419295d0d 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -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 |