From: Heinrich Schuchardt Date: Sun, 4 Apr 2021 13:35:07 +0000 (+0000) Subject: cmd: CMD_USB depends on USB X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7823ba339730368a63f64998cf8b81404249aa4c;p=u-boot.git 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 Signed-off-by: Heinrich Schuchardt --- 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.