aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-03-26 19:10:38 +0200
committerTom Rini2023-04-06 19:10:08 -0400
commitfa3f0cbe13058aa6564d97c0c59e87e9b2655b4d (patch)
tree8b9c8aaf3e6bf54383b67fb7a7d8923fc2f3c128 /cmd
parent120ec1dfa9ba29464fa5c319513a43d234253211 (diff)
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index bab35fc6678..091a0ee21a0 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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