blob: 4d643816fcce71b991dfde687527729c275b92e4 [file] [log] [blame]
Simon Glass0fcd48f2017-06-14 21:28:27 -06001config SCSI
2 bool "Support SCSI controllers"
Simon Glass7f8967c2022-08-11 19:34:48 -06003 select SPL_LEGACY_BLOCK
Simon Glass0fcd48f2017-06-14 21:28:27 -06004 help
5 This enables support for SCSI (Small Computer System Interface),
6 a parallel interface widely used with storage peripherals such as
7 hard drives and optical drives. The SCSI standards define physical
8 interfaces as well as protocols for controlling devices and
9 tranferring data.
10
11config DM_SCSI
12 bool "Support SCSI controllers with driver model"
Simon Glass0fcd48f2017-06-14 21:28:27 -060013 help
14 This option enables the SCSI (Small Computer System Interface) uclass
15 which supports SCSI and SATA HDDs. For every device configuration
16 (IDs/LUNs) a block device is created with RAW read/write and
17 filesystem support.
Simon Glassedca8cf2022-01-31 07:49:37 -070018
19if SCSI && !DM_SCSI
20
21config SCSI_AHCI_PLAT
22 bool "Platform-specific init of AHCI"
23 help
24 This enables a way for boards to set up an AHCI device manually, by
25 called ahci_init() and providing an ahci_reset() mechanism.
26
27 This is deprecated. An AHCI driver should be provided instead.
28
29config SYS_SCSI_MAX_SCSI_ID
30 int "Maximum supporedt SCSI ID"
31 default 1
32 help
33 Sets the maximum number of SCSI IDs to scan when looking for devices.
34 IDs from 0 to (this value - 1) are scanned.
35
36 This is deprecated and is not needed when BLK is enabled.
37
38config SYS_SCSI_MAX_LUN
39 int "Maximum support SCSI LUN"
40 default 1
41 help
42 Sets the maximum number of SCSI Logical Unit Numbers (LUNs) to scan on
43 devices. LUNs from 0 to (this value - 1) are scanned.
44
45 This is deprecated and is not needed when CONFIG_DM_SCSI is enabled.
46
47endif