[PATCH 1/1] cmd: CONFIG_CMD_SCSI depends on CONFIG_SCSI
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sun Mar 26 19:10:38 CEST 2023
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 at canonical.com>
---
cmd/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 2caa4af71c..5c1b353c90 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1436,7 +1436,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
--
2.39.2
More information about the U-Boot
mailing list