]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: CONFIG_CMD_SCSI depends on CONFIG_SCSI
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 26 Mar 2023 17:10:38 +0000 (19:10 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 6 Apr 2023 23:10:08 +0000 (19:10 -0400)
Compiling with CONFIG_CMD_SCSI=y, CONFIG_SCSI results in

    cmd/scsi.c:46: undefined reference to `scsi_scan'

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig

index bab35fc6678536856fd3d27249c258976ba71d13..091a0ee21a0066dc61382b403900c1e31306932d 100644 (file)
@@ -1446,7 +1446,8 @@ config CMD_SATA
 
 config CMD_SCSI
        bool "scsi - Access to SCSI devices"
-       default y if SCSI
+       depends on SCSI
+       default y
        help
          This provides a 'scsi' command which provides access to SCSI (Small
          Computer System Interface) devices. The command provides a way to