treewide: Test on CONFIG_USB_HOST (or CONFIG_CMD_USB) not CONFIG_USB
authorTom Rini <trini@konsulko.com>
Fri, 9 Jul 2021 14:11:55 +0000 (10:11 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 19 Jul 2021 01:05:31 +0000 (21:05 -0400)
commite8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80
tree8021b391d839ddf608b639557f000febeb39f0db
parent3fa03bcf8c67f3636104ecfc941f80af5b31ad9a
treewide: Test on CONFIG_USB_HOST (or CONFIG_CMD_USB) not CONFIG_USB

As the logic here is only used when we have a USB host controller, test
on CONFIG_USB_HOST rather than CONFIG_USB in general.  This lets us move
towards using CONFIG_USB only as a menu symbol to say that we have some
form of USB, and then USB_HOST or USB_GADGET depending on the role that
USB plays within the build.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/freescale/lx2160a/lx2160a.c
board/freescale/mpc837xerdb/mpc837xerdb.c
board/tplink/wdr4300/wdr4300.c
cmd/Kconfig
include/configs/lx2160a_common.h
include/configs/stm32mp1.h
include/configs/topic_miami.h