3914f996d91c2aadd21c5f1f0432ad37f2daabed
[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 LIBATA
81         select AHCI if BLK
82         help
83           Enable this driver to support the SATA controller found in
84           some Freescale PowerPC SoCs.
85
86 config MVSATA_IDE
87         bool "Enable Marvell SATA controller driver support via IDE interface"
88         help
89           Enable this driver to support the SATA controller found in
90           some Marvell SoCs, running in IDE compatibility mode using PIO.
91
92 config SATA_MV
93         bool "Enable Marvell SATA controller driver support"
94         select AHCI
95         select LIBATA
96         depends on BLK
97         help
98           Enable this driver to support the SATA controller found in
99           some Marvell SoCs.
100
101 config SATA_SIL
102         bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
103         select LIBATA
104         select AHCI if BLK
105         help
106           Enable this driver to support the SIL3131, SIL3132 and SIL3124
107           SATA controllers.
108
109 config SATA_SIL3114
110         bool "Enable Silicon Image SIL3114 SATA driver support"
111         select LIBATA
112         help
113           Enable this driver to support the SIL3114 SATA controllers.
114
115 config SUNXI_AHCI
116         bool "Enable Allwinner SATA driver support"
117         depends on AHCI
118         default y if ARCH_SUNXI
119         help
120           Enable this driver to support the SATA controllers found in the
121           Allwinner A10, A20 and R40 SoCs.
122
123 config AHCI_MVEBU
124         bool "Marvell EBU AHCI SATA support"
125         depends on ARCH_MVEBU
126         depends on AHCI
127         select SCSI_AHCI
128         select DM_SCSI
129         help
130           This option enables support for the Marvell EBU SoC's
131           onboard AHCI SATA.
132
133           If unsure, say N.
134
135 config MTK_AHCI
136         bool "Enable Mediatek AHCI driver support"
137         depends on AHCI
138         help
139           Enable this driver to support Sata devices through
140           Mediatek AHCI controller (e.g. MT7622).
141
142 endmenu