Simon Glass | 3def006 | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 1 | config SCSI |
| 2 | bool "Support SCSI controllers" |
Simon Glass | 3def006 | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 3 | 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 | |
| 10 | config DM_SCSI |
| 11 | bool "Support SCSI controllers with driver model" |
Simon Glass | 3def006 | 2017-06-14 21:28:27 -0600 | [diff] [blame] | 12 | 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 Glass | 231e774 | 2022-01-31 07:49:37 -0700 | [diff] [blame] | 17 | |
| 18 | if SCSI && !DM_SCSI |
| 19 | |
| 20 | config 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 | |
| 28 | config SYS_SCSI_MAX_SCSI_ID |
Heinrich Schuchardt | f7637d7 | 2023-03-26 17:08:03 +0200 | [diff] [blame^] | 29 | int "Maximum supported SCSI ID" |
Simon Glass | 231e774 | 2022-01-31 07:49:37 -0700 | [diff] [blame] | 30 | 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 | |
| 37 | config 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 | |
| 46 | endif |