Merge tag 'u-boot-rockchip-20200531' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / drivers / ata / Kconfig
index 6427f1b94a669e992045210d584059b147e18ca5..d8c9756c2afc057383e90bbbf27a65697be6a3d1 100644 (file)
@@ -9,6 +9,7 @@ config AHCI
 
 config SATA
        bool "Support SATA controllers"
+       select HAVE_BLOCK_DEVICE
        help
          This enables support for SATA (Serial Advanced Technology
          Attachment), a serial bus standard for connecting to hard drives and
@@ -20,26 +21,25 @@ config SATA
 
          See also CMD_SATA which provides command-line support.
 
-config SCSI
-       bool "Support SCSI controllers"
+config LIBATA
+       bool
        help
-         This enables support for SCSI (Small Computer System Interface),
-         a parallel interface widely used with storage peripherals such as
-         hard drives and optical drives. The SCSI standards define physical
-         interfaces as well as protocols for controlling devices and
-         tranferring data.
+         Select this to build and link the libata helper functions.
 
-config DM_SCSI
-       bool "Support SCSI controllers with driver model"
-       depends on BLK
+config SCSI_AHCI
+       bool "Enable SCSI interface to SATA devices"
+       select LIBATA
        help
-         This option enables the SCSI (Small Computer System Interface) uclass
-         which supports SCSI and SATA HDDs. For every device configuration
-         (IDs/LUNs) a block device is created with RAW read/write and
-         filesystem support.
+         Enable this to allow interfacing SATA devices via the SCSI layer.
 
 menu "SATA/SCSI device support"
 
+config AHCI_PCI
+       bool "Support for PCI-based AHCI controller"
+       depends on DM_SCSI
+       help
+         Enables support for the PCI-based AHCI controller.
+
 config SATA_CEVA
        bool "Ceva Sata controller"
        depends on AHCI
@@ -59,4 +59,75 @@ config DWC_AHCI
          Enable this driver to support Sata devices through
          Synopsys DWC AHCI module.
 
+config DWC_AHSATA
+       bool "Enable DWC AHSATA driver support"
+       select LIBATA
+       help
+         Enable this driver to support the DWC AHSATA SATA controller found
+         in i.MX5 and i.MX6 SoCs.
+
+config DWC_AHSATA_AHCI
+       bool "Enable DWC AHSATA AHCI driver support"
+       depends on DWC_AHSATA
+       depends on AHCI
+       default y
+       help
+         Enable this option unless you need your private ahci implementation
+
+config FSL_SATA
+       bool "Enable Freescale SATA controller driver support"
+       select LIBATA
+       select AHCI if BLK
+       help
+         Enable this driver to support the SATA controller found in
+         some Freescale PowerPC SoCs.
+
+config MVSATA_IDE
+       bool "Enable Marvell SATA controller driver support via IDE interface"
+       help
+         Enable this driver to support the SATA controller found in
+         some Marvell SoCs, running in IDE compatibility mode using PIO.
+
+config SATA_MV
+       bool "Enable Marvell SATA controller driver support"
+       select AHCI
+       select LIBATA
+       depends on BLK
+       help
+         Enable this driver to support the SATA controller found in
+         some Marvell SoCs.
+
+config SATA_SIL
+       bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
+       select LIBATA
+       select AHCI if BLK
+       help
+         Enable this driver to support the SIL3131, SIL3132 and SIL3124
+         SATA controllers.
+
+config SATA_SIL3114
+       bool "Enable Silicon Image SIL3114 SATA driver support"
+       select LIBATA
+       help
+         Enable this driver to support the SIL3114 SATA controllers.
+
+config SUNXI_AHCI
+       bool "Enable Allwinner SATA driver support"
+       depends on AHCI
+       default y if ARCH_SUNXI
+       help
+         Enable this driver to support the SATA controllers found in the
+         Allwinner A10, A20 and R40 SoCs.
+
+config AHCI_MVEBU
+       bool "Marvell EBU AHCI SATA support"
+       depends on ARCH_MVEBU
+       depends on AHCI
+       select SCSI_AHCI
+       select DM_SCSI
+       help
+         This option enables support for the Marvell EBU SoC's
+         onboard AHCI SATA.
+
+         If unsure, say N.
 endmenu