cmd: CONFIG_CMD_SCSI depends on CONFIG_SCSI

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>
This commit is contained in:
Heinrich Schuchardt 2023-03-26 19:10:38 +02:00 committed by Tom Rini
parent 120ec1dfa9
commit fa3f0cbe13

View 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