This solves the dependency problem I described in [1]. [1]: http://u-boot.10912.n7.nabble.com/-td347224.html
Version 3: * Reordered patches. * Split out CMD_USB dependency patch. * Verified that no patch breaks the Travis CI build. * Added missing commit comments. * Verified that all AM33xx boards still build. Version 2: * Globally replace CONFIG_DM_USB * Split the CONFIG_DM_USB replacement into separate patch * Fix am335x_evm build Sven Schwermer (5): usb: Introduce CONFIG_SPL_DM_USB usb: am335x_evm: Disable CONFIG_SPL_DM_USB usb: Remove CMD_USB dependency for common code usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/ usb: storage: s/CONFIG_BLK/CONFIG_IS_ENABLED(BLK)/ common/Makefile | 2 +- common/usb.c | 14 ++++++------- common/usb_hub.c | 16 +++++++-------- common/usb_kbd.c | 4 ++-- common/usb_storage.c | 34 +++++++++++++++---------------- configs/am335x_evm_defconfig | 3 ++- drivers/usb/Kconfig | 5 +++++ drivers/usb/common/Makefile | 2 +- drivers/usb/dwc3/core.c | 2 +- drivers/usb/dwc3/core.h | 2 +- drivers/usb/eth/usb_ether.c | 2 +- drivers/usb/gadget/ci_udc.c | 2 +- drivers/usb/gadget/ether.c | 8 ++++---- drivers/usb/host/Makefile | 4 ++-- drivers/usb/host/dwc2.c | 12 +++++------ drivers/usb/host/ehci-atmel.c | 2 +- drivers/usb/host/ehci-fsl.c | 12 +++++------ drivers/usb/host/ehci-hcd.c | 12 +++++------ drivers/usb/host/ehci-marvell.c | 4 ++-- drivers/usb/host/ehci-mx6.c | 2 +- drivers/usb/host/ehci-pci.c | 8 ++++---- drivers/usb/host/ehci-vf.c | 2 +- drivers/usb/host/ohci-hcd.c | 10 ++++----- drivers/usb/host/ohci.h | 4 ++-- drivers/usb/host/xhci-dwc3.c | 2 +- drivers/usb/host/xhci-fsl.c | 4 ++-- drivers/usb/host/xhci-mem.c | 6 +++--- drivers/usb/host/xhci.c | 12 +++++------ drivers/usb/host/xhci.h | 2 +- drivers/usb/musb-new/musb_uboot.c | 12 +++++------ drivers/usb/musb-new/omap2430.c | 4 ++-- drivers/usb/musb-new/ti-musb.c | 4 ++-- drivers/usb/musb-new/usb-compat.h | 2 +- include/usb.h | 12 +++++------ 34 files changed, 117 insertions(+), 111 deletions(-) -- 2.17.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot