diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-04-04 13:35:07 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-04 16:06:25 -0400 |
commit | 7823ba339730368a63f64998cf8b81404249aa4c (patch) | |
tree | 37cdd8507dc1be677da6a0238834625ba38791f2 | |
parent | a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd (diff) | |
download | u-boot-7823ba339730368a63f64998cf8b81404249aa4c.zip u-boot-7823ba339730368a63f64998cf8b81404249aa4c.tar.gz u-boot-7823ba339730368a63f64998cf8b81404249aa4c.tar.bz2 |
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>
-rw-r--r-- | cmd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index eff238c..863b7f9 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. |