sata: Only support BLK
[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         depends on BLK
13         select HAVE_BLOCK_DEVICE
14         help
15           This enables support for SATA (Serial Advanced Technology
16           Attachment), a serial bus standard for connecting to hard drives and
17           other storage devices.
18
19           SATA replaces PATA (originally just ATA), which stands for Parallel AT
20           Attachment, where AT refers to an IBM AT (Advanced Technology)
21           computer released in 1984.
22
23           See also CMD_SATA which provides command-line support.
24
25 config LIBATA
26         bool
27         help
28           Select this to build and link the libata helper functions.
29
30 config SCSI_AHCI
31         bool "Enable SCSI interface to SATA devices"
32         select LIBATA
33         help
34           Enable this to allow interfacing SATA devices via the SCSI layer.
35
36 menu "SATA/SCSI device support"
37
38 config AHCI_PCI
39         bool "Support for PCI-based AHCI controller"
40         depends on PCI
41         depends on DM_SCSI
42         help
43           Enables support for the PCI-based AHCI controller.
44
45 config SPL_AHCI_PCI
46         bool "Support for PCI-based AHCI controller for SPL"
47         depends on SPL
48         depends on SPL_PCI
49         depends on SPL_SATA_SUPPORT && DM_SCSI
50
51 config SATA_CEVA
52         bool "Ceva Sata controller"
53         depends on AHCI
54         depends on DM_SCSI
55         help
56           This option enables Ceva Sata controller hard IP available on Xilinx
57           ZynqMP. Support up to 2 external devices. Complient with SATA 3.1 and
58           AHCI 1.3 specifications with hot-plug detect feature.
59
60
61 config DWC_AHCI
62         bool "Enable Synopsys DWC AHCI driver support"
63         select SCSI_AHCI
64         select PHY
65         depends on DM_SCSI
66         help
67           Enable this driver to support Sata devices through
68           Synopsys DWC AHCI module.
69
70 config DWC_AHSATA
71         bool "Enable DWC AHSATA driver support"
72         select LIBATA
73         depends on BLK
74         help
75           Enable this driver to support the DWC AHSATA SATA controller found
76           in i.MX5 and i.MX6 SoCs.
77
78 config DWC_AHSATA_AHCI
79         bool "Enable DWC AHSATA AHCI driver support"
80         depends on DWC_AHSATA
81         depends on AHCI
82         default y
83         help
84           Enable this option unless you need your private ahci implementation
85
86 config FSL_SATA
87         bool "Enable Freescale SATA controller driver support"
88         select AHCI
89         select LIBATA
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         help
99           Enable this driver to support the SATA controller found in
100           some Marvell SoCs.
101
102 config SATA_SIL
103         bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
104         select AHCI
105         select LIBATA
106         help
107           Enable this driver to support the SIL3131, SIL3132 and SIL3124
108           SATA controllers.
109
110 config SUNXI_AHCI
111         bool "Enable Allwinner SATA driver support"
112         depends on AHCI
113         default y if ARCH_SUNXI
114         help
115           Enable this driver to support the SATA controllers found in the
116           Allwinner A10, A20 and R40 SoCs.
117
118 config AHCI_MVEBU
119         bool "Marvell EBU AHCI SATA support"
120         depends on ARCH_MVEBU || ARCH_OCTEON
121         depends on AHCI
122         select SCSI_AHCI
123         select DM_SCSI
124         help
125           This option enables support for the Marvell EBU SoC's
126           onboard AHCI SATA.
127
128           If unsure, say N.
129
130 config MTK_AHCI
131         bool "Enable Mediatek AHCI driver support"
132         depends on AHCI
133         help
134           Enable this driver to support Sata devices through
135           Mediatek AHCI controller (e.g. MT7622).
136
137 endmenu