]> Git Repo - u-boot.git/blob - drivers/ata/Kconfig
dm: core: Switch uclass_*_device_err to use uclass_*_device_check
[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         help
13           This enables support for SATA (Serial Advanced Technology
14           Attachment), a serial bus standard for connecting to hard drives and
15           other storage devices.
16
17           SATA replaces PATA (originally just ATA), which stands for Parallel AT
18           Attachment, where AT refers to an IBM AT (Advanced Technology)
19           computer released in 1984.
20
21           See also CMD_SATA which provides command-line support.
22
23 config LIBATA
24         bool
25         help
26           Select this to build and link the libata helper functions.
27
28 config SCSI_AHCI
29         bool "Enable SCSI interface to SATA devices"
30         select LIBATA
31         help
32           Enable this to allow interfacing SATA devices via the SCSI layer.
33
34 menu "SATA/SCSI device support"
35
36 config AHCI_PCI
37         bool "Support for PCI-based AHCI controller"
38         depends on PCI
39         depends on DM_SCSI
40         help
41           Enables support for the PCI-based AHCI controller.
42
43 if AHCI
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 && DM_SCSI
50
51 config DWC_AHCI
52         bool "Enable Synopsys DWC AHCI driver support"
53         select SCSI_AHCI
54         select PHY
55         depends on DM_SCSI
56         help
57           Enable this driver to support Sata devices through
58           Synopsys DWC AHCI module.
59
60 config DWC_AHSATA
61         bool "Enable DWC AHSATA driver support"
62         select LIBATA
63         depends on BLK
64         help
65           Enable this driver to support the DWC AHSATA SATA controller found
66           in i.MX5 and i.MX6 SoCs.
67
68 config DWC_AHSATA_AHCI
69         bool "Enable DWC AHSATA AHCI driver support"
70         depends on DWC_AHSATA
71         default y
72         help
73           Enable this option unless you need your private ahci implementation
74
75 config MTK_AHCI
76         bool "Enable Mediatek AHCI driver support"
77         help
78           Enable this driver to support Sata devices through
79           Mediatek AHCI controller (e.g. MT7622).
80
81 config AHCI_MVEBU
82         bool "Marvell EBU AHCI SATA support"
83         depends on ARCH_MVEBU || ARCH_OCTEON
84         select SCSI_AHCI
85         select DM_SCSI
86         help
87           This option enables support for the Marvell EBU SoC's
88           onboard AHCI SATA.
89
90           If unsure, say N.
91
92 config SUNXI_AHCI
93         bool "Enable Allwinner SATA driver support"
94         default y if ARCH_SUNXI
95         help
96           Enable this driver to support the SATA controllers found in the
97           Allwinner A10, A20 and R40 SoCs.
98
99 endif # AHCI
100
101 if SATA
102
103 config SATA_CEVA
104         bool "Ceva Sata controller"
105         depends on AHCI
106         depends on DM_SCSI
107         help
108           This option enables Ceva Sata controller hard IP available on Xilinx
109           ZynqMP. Support up to 2 external devices. Compliant with SATA 3.1 and
110           AHCI 1.3 specifications with hot-plug detect feature.
111
112 config FSL_SATA
113         bool "Enable Freescale SATA controller driver support"
114         depends on PPC
115         select AHCI
116         select LIBATA
117         imply LBA48
118         help
119           Enable this driver to support the SATA controller found in
120           some Freescale PowerPC SoCs.
121
122 config FSL_SATA_V2
123         bool "Enable support for V2 of the Freescale SATA controller"
124         depends on FSL_SATA
125         help
126           Enable support for V2 of this controller, rather than V1.
127
128 config SATA_MV
129         bool "Enable Marvell SATA controller driver support"
130         select AHCI
131         select LIBATA
132         help
133           Enable this driver to support the SATA controller found in
134           some Marvell SoCs.
135
136 config SATA_SIL
137         bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
138         select AHCI
139         select LIBATA
140         help
141           Enable this driver to support the SIL3131, SIL3132 and SIL3124
142           SATA controllers.
143
144 config SYS_SATA_MAX_DEVICE
145         int "Maximum number of SATA devices"
146         depends on !AHCI || FSL_SATA || SATA_MV
147         help
148           Sets the maximum number of SATA devices which can be supported
149           by U-Boot.
150
151           This is only partially converted to driver model. See sata_bread()
152           for example, which shows where the conversion needs to be completed.
153
154 endif # SATA
155
156 endmenu
This page took 0.043314 seconds and 4 git commands to generate.