diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-01-25 19:40:15 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2023-03-10 17:31:31 +0100 |
commit | fe61da8c75d061f48237ef4d7618812739ccf789 (patch) | |
tree | 0c5a7aeec7d60fa1634262b971aaa043a6cee5d6 | |
parent | b08ffdffdce95e267e782366f4a77bf6b5537b28 (diff) | |
download | u-boot-fe61da8c75d061f48237ef4d7618812739ccf789.zip u-boot-fe61da8c75d061f48237ef4d7618812739ccf789.tar.gz u-boot-fe61da8c75d061f48237ef4d7618812739ccf789.tar.bz2 |
usb: USB hubs require host mode
USB hubs run in host mode not in gadget mode. Hence, compiling usb_hub.c
should not be selected by CONFIG_USB_GADGET.
Suggested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | common/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile index 252e965..a50302d 100644 --- a/common/Makefile +++ b/common/Makefile @@ -24,7 +24,7 @@ obj-$(CONFIG_CMD_MII) += miiphyutil.o obj-$(CONFIG_PHYLIB) += miiphyutil.o obj-$(CONFIG_USB_HOST) += usb.o usb_hub.o -obj-$(CONFIG_USB_GADGET) += usb.o usb_hub.o +obj-$(CONFIG_USB_GADGET) += usb.o obj-$(CONFIG_USB_STORAGE) += usb_storage.o obj-$(CONFIG_USB_ONBOARD_HUB) += usb_onboard_hub.o |