blob: c400e2de16a44a6635d94f535dbdf4869e1d3a61 [file] [log] [blame]
Simon Glass3def0062017-06-14 21:28:27 -06001config SCSI
2 bool "Support SCSI controllers"
Adam Fordb10ba902018-02-06 12:43:56 -06003 select HAVE_BLOCK_DEVICE
Simon Glass3def0062017-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"
13 depends on BLK
14 help
15 This option enables the SCSI (Small Computer System Interface) uclass
16 which supports SCSI and SATA HDDs. For every device configuration
17 (IDs/LUNs) a block device is created with RAW read/write and
18 filesystem support.
Simon Glass231e7742022-01-31 07:49:37 -070019
20if SCSI && !DM_SCSI
21
22config SCSI_AHCI_PLAT
23 bool "Platform-specific init of AHCI"
24 help
25 This enables a way for boards to set up an AHCI device manually, by
26 called ahci_init() and providing an ahci_reset() mechanism.
27
28 This is deprecated. An AHCI driver should be provided instead.
29
30config SYS_SCSI_MAX_SCSI_ID
31 int "Maximum supporedt SCSI ID"
32 default 1
33 help
34 Sets the maximum number of SCSI IDs to scan when looking for devices.
35 IDs from 0 to (this value - 1) are scanned.
36
37 This is deprecated and is not needed when BLK is enabled.
38
39config SYS_SCSI_MAX_LUN
40 int "Maximum support SCSI LUN"
41 default 1
42 help
43 Sets the maximum number of SCSI Logical Unit Numbers (LUNs) to scan on
44 devices. LUNs from 0 to (this value - 1) are scanned.
45
46 This is deprecated and is not needed when CONFIG_DM_SCSI is enabled.
47
48endif