summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-01-31 07:49:37 -0700
committerTom Rini <[email protected]>2022-02-09 09:16:48 -0500
commitedca8cf72130c53fe399d1f354937c04efb96c7d (patch)
tree89f4ace4cdd21854a8fe035f1f78a0b34c78bf0c /drivers/ata
parentce30e3ff1e4b5abff5a9936776fe99190d705236 (diff)
Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig
This converts the following to Kconfig: CONFIG_SCSI_AHCI_PLAT CONFIG_SYS_SCSI_MAX_SCSI_ID CONFIG_SYS_SCSI_MAX_LUN CONFIG_SYS_SATA_MAX_DEVICE Drop CONFIG_SCSI for everything except the sandbox build. We only need one build for tests. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 1adf4dc8e2d..ce6907e6900 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -135,6 +135,16 @@ config SATA_SIL
Enable this driver to support the SIL3131, SIL3132 and SIL3124
SATA controllers.
+config SYS_SATA_MAX_DEVICE
+ int "Maximum number of SATA devices"
+ depends on !AHCI || FSL_SATA || SATA_MV
+ help
+ Sets the maximum number of SATA devices which can be supported
+ by U-Boot.
+
+ This is only partially converted to driver model. See sata_bread()
+ for example, which shows where the conversion needs to be completed.
+
endif # SATA
endmenu