projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a0da06d
)
cmd: CMD_USB depends on USB
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 4 Apr 2021 13:35:07 +0000
(13:35 +0000)
committer
Tom Rini
<trini@konsulko.com>
Sun, 4 Apr 2021 20:06:25 +0000
(16:06 -0400)
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>
cmd/Kconfig
patch
|
blob
|
history
diff --git
a/cmd/Kconfig
b/cmd/Kconfig
index
eff238c
..
863b7f9
100644
(file)
--- a/
cmd/Kconfig
+++ b/
cmd/Kconfig
@@
-1309,6
+1309,7
@@
config CMD_UNIVERSE
config CMD_USB
bool "usb"
config CMD_USB
bool "usb"
+ depends on USB
select HAVE_BLOCK_DEVICE
help
USB support.
select HAVE_BLOCK_DEVICE
help
USB support.