cmd: CMD_USB depends on USB
PATCH 1/1 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'
Signed-off-by Heinrich Schuchardt <[email protected]>
--- cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)
cmd/Kconfig +1 -0
@@ -1309,6 +1309,7 @@ config CMD_UNIVERSE config CMD_USB bool "usb" + depends on USB select HAVE_BLOCK_DEVICE help USB support.
--
2.31.0
PATCH 1/1 cmd: CMD_USB depends on USB
Quoted 6 lines · Heinrich Schuchardt
The usb command cannot be compiled with
CONFIG_USB=n:ld.bfd:
cmd/usb.c:660: undefined reference tousb_stop' ld.bfd: cmd/usb.c:663: undefined reference tousb_started'Signed-off-by Heinrich Schuchardt <[email protected]>
Reviewed-by Marek Vasut <[email protected]>
It would be nice to include this in current release, since it's obviously a bugfix.
PATCH 1/1 cmd: CMD_USB depends on USB
In reply to Heinrich SchuchardtQuoted 7 lines · Heinrich Schuchardt
The usb command cannot be compiled with
CONFIG_USB=n:ld.bfd:
cmd/usb.c:660: undefined reference tousb_stop' ld.bfd: cmd/usb.c:663: undefined reference tousb_started'Reviewed-by Marek Vasut <[email protected]>Signed-off-by Heinrich Schuchardt <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210404/395f1e3d/attachment.sig>