mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
usb: Remove CMD_USB dependency for common code
Common USB code is built whenever USB is enabled (in non-SPL builds). The USB uclass is built whenever (SPL_)DM_USB is enabled. Both need to be independent from CMD_USB. Signed-off-by: Sven Schwermer <sven@svenschwermer.de>
This commit is contained in:
committed by
Marek Vasut
parent
2a03114e6e
commit
ab5817027f
@@ -33,7 +33,7 @@ obj-$(CONFIG_MII) += miiphyutil.o
|
||||
obj-$(CONFIG_CMD_MII) += miiphyutil.o
|
||||
obj-$(CONFIG_PHYLIB) += miiphyutil.o
|
||||
|
||||
ifdef CONFIG_CMD_USB
|
||||
ifdef CONFIG_USB
|
||||
obj-y += usb.o usb_hub.o
|
||||
obj-$(CONFIG_USB_STORAGE) += usb_storage.o
|
||||
endif
|
||||
|
Reference in New Issue
Block a user