summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-04-04 16:35:07 +0300
committerTom Rini <trini@konsulko.com>2021-04-04 23:06:25 +0300
commit7823ba339730368a63f64998cf8b81404249aa4c (patch)
tree37cdd8507dc1be677da6a0238834625ba38791f2 /cmd
parenta0da06d2f853b7f20caec41ba7c7d8cdd73e55fd (diff)
downloadu-boot-7823ba339730368a63f64998cf8b81404249aa4c.tar.xz
cmd: CMD_USB depends on USB
The usb command cannot be compiled with CONFIG_USB=n: ld.bfd: cmd/usb.c:660: undefined reference to `usb_stop' ld.bfd: cmd/usb.c:663: undefined reference to `usb_started' Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index eff238cb38..863b7f9fda 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1309,6 +1309,7 @@ config CMD_UNIVERSE
config CMD_USB
bool "usb"
+ depends on USB
select HAVE_BLOCK_DEVICE
help
USB support.