Merge tag 'u-boot-at91-fixes-2022.04-a' of https://source.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / drivers / scsi / Kconfig
1 config SCSI
2         bool "Support SCSI controllers"
3         select HAVE_BLOCK_DEVICE
4         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
11 config 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.
19
20 if SCSI && !DM_SCSI
21
22 config 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
30 config 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
39 config 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
48 endif