From: Heinrich Schuchardt Date: Wed, 25 Jan 2023 18:40:15 +0000 (+0100) Subject: usb: USB hubs require host mode X-Git-Tag: v2023.07~133^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe61da8c75d061f48237ef4d7618812739ccf789;p=platform%2Fkernel%2Fu-boot.git 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 Signed-off-by: Heinrich Schuchardt Reviewed-by: Marek Vasut --- 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