diff options
author | Heinrich Schuchardt | 2021-04-04 13:35:07 +0000 |
---|---|---|
committer | Tom Rini | 2021-04-04 16:06:25 -0400 |
commit | 7823ba339730368a63f64998cf8b81404249aa4c (patch) | |
tree | 37cdd8507dc1be677da6a0238834625ba38791f2 /cmd | |
parent | a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd (diff) |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index eff238cb38f..863b7f9fda4 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. |