summaryrefslogtreecommitdiff
path: root/components/drivers/scsi/Kconfig
blob: c437a13426e0c8a37dbdce11f5ea8096f78f52df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
menuconfig RT_USING_SCSI
    bool "Using Small Computer System Interface (SCSI)"
    depends on RT_USING_DM
    default n
    help
      Enable the SCSI mid-layer which translates block requests to SCSI command
      packets. Needed by AHCI, USB Mass Storage, and NVMe drivers that expose
      disks as SCSI devices.

config RT_SCSI_SD
    bool "SD device on SCSI"
    depends on RT_USING_SCSI
    depends on RT_USING_BLK
    default y
    help
      Register disk-type SCSI devices (direct-access). Keep enabled unless you
      intentionally drop support for SCSI disks.

config RT_SCSI_CDROM
    bool "CD-ROM device on SCSI"
    depends on RT_USING_SCSI
    depends on RT_USING_BLK
    default y
    help
      Provide SCSI CD-ROM device emulation (read-only block devices). Disable
      only if optical-style devices are never needed.

if RT_USING_SCSI
    osource "$(SOC_DM_SCSI_DIR)/Kconfig"
endif