diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-09 10:11:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-18 21:05:31 -0400 |
commit | e8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80 (patch) | |
tree | 8021b391d839ddf608b639557f000febeb39f0db /include/configs/topic_miami.h | |
parent | 3fa03bcf8c67f3636104ecfc941f80af5b31ad9a (diff) | |
download | u-boot-e8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80.zip u-boot-e8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80.tar.gz u-boot-e8d3eaadcd9474a7e2e2f3af51ad044c3ff2ad80.tar.bz2 |
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/topic_miami.h')
-rw-r--r-- | include/configs/topic_miami.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/topic_miami.h b/include/configs/topic_miami.h index c12cd7c..b668817 100644 --- a/include/configs/topic_miami.h +++ b/include/configs/topic_miami.h @@ -34,7 +34,7 @@ /* Setup proper boot sequences for Miami boards */ -#if defined(CONFIG_USB) +#if defined(CONFIG_USB_HOST) # define EXTRA_ENV_USB \ "usbreset=i2c dev 1 && i2c mw 41 1 ff && i2c mw 41 3 fe && "\ "i2c mw 41 1 fe && i2c mw 41 1 ff\0" \ |