Merge tag 'u-boot-atmel-2021.10-a' of https://source.denx.de/u-boot/custodians/u...
[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_SCSI
40         help
41           Enables support for the PCI-based AHCI controller.
42
43 config SATA_CEVA
44         bool "Ceva Sata controller"
45         depends on AHCI
46         depends on DM_SCSI
47         help
48           This option enables Ceva Sata controller hard IP available on Xilinx
49           ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and
50           AHCI 1.3 specifications with hot-plug detect feature.
51
52
53 config DWC_AHCI
54         bool "Enable Synopsys DWC AHCI driver support"
55         select SCSI_AHCI
56         select PHY
57         depends on DM_SCSI
58         help
59           Enable this driver to support Sata devices through
60           Synopsys DWC AHCI module.
61
62 config DWC_AHSATA
63         bool "Enable DWC AHSATA driver support"
64         select LIBATA
65         depends on BLK
66         help
67           Enable this driver to support the DWC AHSATA SATA controller found
68           in i.MX5 and i.MX6 SoCs.
69
70 config DWC_AHSATA_AHCI
71         bool "Enable DWC AHSATA AHCI driver support"
72         depends on DWC_AHSATA
73         depends on AHCI
74         default y
75         help
76           Enable this option unless you need your private ahci implementation
77
78 config FSL_SATA
79         bool "Enable Freescale SATA controller driver support"
80         select AHCI
81         select LIBATA
82         depends on BLK
83         help
84           Enable this driver to support the SATA controller found in
85           some Freescale PowerPC SoCs.
86
87 config SATA_MV
88         bool "Enable Marvell SATA controller driver support"
89         select AHCI
90         select LIBATA
91         depends on BLK
92         help
93           Enable this driver to support the SATA controller found in
94           some Marvell SoCs.
95
96 config SATA_SIL
97         bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
98         select AHCI
99         select LIBATA
100         depends on BLK
101         help
102           Enable this driver to support the SIL3131, SIL3132 and SIL3124
103           SATA controllers.
104
105 config SATA_SIL3114
106         bool "Enable Silicon Image SIL3114 SATA driver support"
107         select LIBATA
108         help
109           Enable this driver to support the SIL3114 SATA controllers.
110
111 config SUNXI_AHCI
112         bool "Enable Allwinner SATA driver support"
113         depends on AHCI
114         default y if ARCH_SUNXI
115         help
116           Enable this driver to support the SATA controllers found in the
117           Allwinner A10, A20 and R40 SoCs.
118
119 config AHCI_MVEBU
120         bool "Marvell EBU AHCI SATA support"
121         depends on ARCH_MVEBU || ARCH_OCTEON
122         depends on AHCI
123         select SCSI_AHCI
124         select DM_SCSI
125         help
126           This option enables support for the Marvell EBU SoC's
127           onboard AHCI SATA.
128
129           If unsure, say N.
130
131 config MTK_AHCI
132         bool "Enable Mediatek AHCI driver support"
133         depends on AHCI
134         help
135           Enable this driver to support Sata devices through
136           Mediatek AHCI controller (e.g. MT7622).
137
138 endmenu