summaryrefslogtreecommitdiff
path: root/include/configs/lx2160a_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-09 17:11:55 +0300
committerTom Rini <trini@konsulko.com>2021-07-19 04:05:31 +0300
commite8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80 (patch)
tree8021b391d839ddf608b639557f000febeb39f0db /include/configs/lx2160a_common.h
parent3fa03bcf8c67f3636104ecfc941f80af5b31ad9a (diff)
downloadu-boot-e8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80.tar.xz
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>
Diffstat (limited to 'include/configs/lx2160a_common.h')
-rw-r--r--include/configs/lx2160a_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h
index 15ea0e4ce1..1338ee3cda 100644
--- a/include/configs/lx2160a_common.h
+++ b/include/configs/lx2160a_common.h
@@ -142,7 +142,7 @@
#endif
/* USB */
-#ifdef CONFIG_USB
+#ifdef CONFIG_USB_HOST
#define CONFIG_HAS_FSL_XHCI_USB
#ifndef CONFIG_TARGET_LX2162AQDS
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2