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