Merge tag 'v2021.10-rc4' into next
[platform/kernel/u-boot.git] / drivers / ata / Kconfig
1 config AHCI
2         bool "Support SATA controllers with driver model"
3         depends on DM
4         help
5           This enables a uclass for disk controllers in U-Boot. Various driver
6           types can use this, such as AHCI/SATA. It does not provide any standard
7           operations at present. The block device interface has not been converted
8           to driver model.
9
10 config SATA
11         bool "Support SATA controllers"
12         select HAVE_BLOCK_DEVICE
13         help
14           This enables support for SATA (Serial Advanced Technology
15           Attachment), a serial bus standard for connecting to hard drives and
16           other storage devices.
17
18           SATA replaces PATA (originally just ATA), which stands for Parallel AT
19           Attachment, where AT refers to an IBM AT (Advanced Technology)
20           computer released in 1984.
21
22           See also CMD_SATA which provides command-line support.
23
24 config LIBATA
25         bool
26         help
27           Select this to build and link the libata helper functions.
28
29 config SCSI_AHCI
30         bool "Enable SCSI interface to SATA devices"
31         select LIBATA
32         help
33           Enable this to allow interfacing SATA devices via the SCSI layer.
34
35 menu "SATA/SCSI device support"
36
37 config AHCI_PCI
38         bool "Support for PCI-based AHCI controller"
39         depends on DM_PCI
40         depends on DM_SCSI
41         help
42           Enables support for the PCI-based AHCI controller.
43
44 config SPL_AHCI_PCI
45         bool "Support for PCI-based AHCI controller for SPL"
46         depends on SPL
47         depends on SPL_PCI
48         depends on SPL_SATA_SUPPORT && DM_SCSI
49
50 config SATA_CEVA
51         bool "Ceva Sata controller"
52         depends on AHCI
53         depends on DM_SCSI
54         help
55           This option enables Ceva Sata controller hard IP available on Xilinx
56           ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and
57           AHCI 1.3 specifications with hot-plug detect feature.
58
59
60 config DWC_AHCI
61         bool "Enable Synopsys DWC AHCI driver support"
62         select SCSI_AHCI
63         select PHY
64         depends on DM_SCSI
65         help
66           Enable this driver to support Sata devices through
67           Synopsys DWC AHCI module.
68
69 config DWC_AHSATA
70         bool "Enable DWC AHSATA driver support"
71         select LIBATA
72         depends on BLK
73         help
74           Enable this driver to support the DWC AHSATA SATA controller found
75           in i.MX5 and i.MX6 SoCs.
76
77 config DWC_AHSATA_AHCI
78         bool "Enable DWC AHSATA AHCI driver support"
79         depends on DWC_AHSATA
80         depends on AHCI
81         default y
82         help
83           Enable this option unless you need your private ahci implementation
84
85 config FSL_SATA
86         bool "Enable Freescale SATA controller driver support"
87         select AHCI
88         select LIBATA
89         depends on BLK
90         help
91           Enable this driver to support the SATA controller found in
92           some Freescale PowerPC SoCs.
93
94 config SATA_MV
95         bool "Enable Marvell SATA controller driver support"
96         select AHCI
97         select LIBATA
98         depends on BLK
99         help
100           Enable this driver to support the SATA controller found in
101           some Marvell SoCs.
102
103 config SATA_SIL
104         bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
105         select AHCI
106         select LIBATA
107         depends on BLK
108         help
109           Enable this driver to support the SIL3131, SIL3132 and SIL3124
110           SATA controllers.
111
112 config SATA_SIL3114
113         bool "Enable Silicon Image SIL3114 SATA driver support"
114         select LIBATA
115         help
116           Enable this driver to support the SIL3114 SATA controllers.
117
118 config SUNXI_AHCI
119         bool "Enable Allwinner SATA driver support"
120         depends on AHCI
121         default y if ARCH_SUNXI
122         help
123           Enable this driver to support the SATA controllers found in the
124           Allwinner A10, A20 and R40 SoCs.
125
126 config AHCI_MVEBU
127         bool "Marvell EBU AHCI SATA support"
128         depends on ARCH_MVEBU || ARCH_OCTEON
129         depends on AHCI
130         select SCSI_AHCI
131         select DM_SCSI
132         help
133           This option enables support for the Marvell EBU SoC's
134           onboard AHCI SATA.
135
136           If unsure, say N.
137
138 config MTK_AHCI
139         bool "Enable Mediatek AHCI driver support"
140         depends on AHCI
141         help
142           Enable this driver to support Sata devices through
143           Mediatek AHCI controller (e.g. MT7622).
144
145 endmenu