blob: 5639536811c25db90ca03f85b7e83433afbd0a9b [file] [log] [blame]
Simon Glassf2105c62017-06-14 21:28:26 -06001config 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
10config SATA
11 bool "Support SATA controllers"
Adam Ford1811a922018-02-06 12:43:56 -060012 select HAVE_BLOCK_DEVICE
Simon Glassf2105c62017-06-14 21:28:26 -060013 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
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +020024config LIBATA
25 bool
26 help
27 Select this to build and link the libata helper functions.
28
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +020029config SCSI_AHCI
30 bool "Enable SCSI interface to SATA devices"
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +020031 select LIBATA
Tuomas Tynkkynen9fd95ef2017-12-08 15:36:19 +020032 help
33 Enable this to allow interfacing SATA devices via the SCSI layer.
34
Simon Glassf2105c62017-06-14 21:28:26 -060035menu "SATA/SCSI device support"
36
Bin Menga5c680f2017-07-30 19:23:59 -070037config AHCI_PCI
38 bool "Support for PCI-based AHCI controller"
Tom Rini36f890f2021-09-16 11:45:03 -040039 depends on PCI
Bin Menga5c680f2017-07-30 19:23:59 -070040 depends on DM_SCSI
41 help
42 Enables support for the PCI-based AHCI controller.
43
Pali Rohár73059522021-08-15 16:27:37 +020044config 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
Simon Glassf2105c62017-06-14 21:28:26 -060050config 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
60config 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
Tuomas Tynkkynen477b16a2017-12-08 15:36:18 +020069config DWC_AHSATA
70 bool "Enable DWC AHSATA driver support"
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +020071 select LIBATA
Tom Rini90932da2021-02-09 21:42:44 -050072 depends on BLK
Tuomas Tynkkynen477b16a2017-12-08 15:36:18 +020073 help
74 Enable this driver to support the DWC AHSATA SATA controller found
75 in i.MX5 and i.MX6 SoCs.
76
Soeren Moch046a69b2019-03-01 13:10:59 +010077config 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
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +020085config FSL_SATA
86 bool "Enable Freescale SATA controller driver support"
Tom Rinic51f74b2021-04-21 15:32:26 -040087 select AHCI
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +020088 select LIBATA
Tom Rinic51f74b2021-04-21 15:32:26 -040089 depends on BLK
Tuomas Tynkkynen9920d152017-12-08 15:36:17 +020090 help
91 Enable this driver to support the SATA controller found in
92 some Freescale PowerPC SoCs.
93
Tuomas Tynkkynenad0ac542017-12-08 15:36:16 +020094config SATA_MV
95 bool "Enable Marvell SATA controller driver support"
Stefan Roese05066202019-03-11 13:29:20 +010096 select AHCI
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +020097 select LIBATA
Stefan Roese05066202019-03-11 13:29:20 +010098 depends on BLK
Tuomas Tynkkynenad0ac542017-12-08 15:36:16 +020099 help
100 Enable this driver to support the SATA controller found in
101 some Marvell SoCs.
102
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200103config SATA_SIL
104 bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
Tom Rinic51f74b2021-04-21 15:32:26 -0400105 select AHCI
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +0200106 select LIBATA
Tom Rinic51f74b2021-04-21 15:32:26 -0400107 depends on BLK
Tuomas Tynkkynenc88ecf42017-12-08 15:36:14 +0200108 help
109 Enable this driver to support the SIL3131, SIL3132 and SIL3124
110 SATA controllers.
111
Tuomas Tynkkynen32f03982017-12-08 15:36:15 +0200112config SATA_SIL3114
113 bool "Enable Silicon Image SIL3114 SATA driver support"
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +0200114 select LIBATA
Tuomas Tynkkynen32f03982017-12-08 15:36:15 +0200115 help
116 Enable this driver to support the SIL3114 SATA controllers.
117
Andre Przywaraf8c86692019-04-12 16:28:54 +0530118config 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
Ken Ma592b4a72018-05-25 15:49:24 +0800126config AHCI_MVEBU
127 bool "Marvell EBU AHCI SATA support"
Stefan Roese1eefd492021-04-07 09:12:34 +0200128 depends on ARCH_MVEBU || ARCH_OCTEON
Ken Ma592b4a72018-05-25 15:49:24 +0800129 depends on AHCI
130 select SCSI_AHCI
Ken Ma6ac85382018-05-25 15:49:26 +0800131 select DM_SCSI
Ken Ma592b4a72018-05-25 15:49:24 +0800132 help
133 This option enables support for the Marvell EBU SoC's
134 onboard AHCI SATA.
135
136 If unsure, say N.
Frank Wunderlich38bff322020-08-13 10:20:47 +0200137
138config 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
Simon Glassf2105c62017-06-14 21:28:26 -0600145endmenu