blob: 4fbb63a148acc6d2cee636cf45100792872cd5c7 [file] [log] [blame]
Simon Glass2c844c42017-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"
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
Tuomas Tynkkynenfc1a4de2017-12-08 15:36:20 +020023config LIBATA
24 bool
25 help
26 Select this to build and link the libata helper functions.
27
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020028config SCSI_AHCI
29 bool "Enable SCSI interface to SATA devices"
Tuomas Tynkkynenfc1a4de2017-12-08 15:36:20 +020030 select LIBATA
Tuomas Tynkkynenedf9f622017-12-08 15:36:19 +020031 help
32 Enable this to allow interfacing SATA devices via the SCSI layer.
33
Simon Glass2c844c42017-06-14 21:28:26 -060034menu "SATA/SCSI device support"
35
Bin Meng239a09b2017-07-30 19:23:59 -070036config AHCI_PCI
37 bool "Support for PCI-based AHCI controller"
Tom Rini61e401e2021-09-16 11:45:03 -040038 depends on PCI
Tom Rini15a2ab52023-10-27 20:59:51 -040039 depends on SCSI
Heinrich Schuchardta618d7a2023-03-26 18:58:25 +020040 depends on SCSI_AHCI
Bin Meng239a09b2017-07-30 19:23:59 -070041 help
42 Enables support for the PCI-based AHCI controller.
43
Simon Glassd31075b2022-01-31 07:49:35 -070044if AHCI
45
Pali Rohár605b6552021-08-15 16:27:37 +020046config SPL_AHCI_PCI
47 bool "Support for PCI-based AHCI controller for SPL"
48 depends on SPL
49 depends on SPL_PCI
Tom Rini15a2ab52023-10-27 20:59:51 -040050 depends on SPL_SATA && SCSI
Pali Rohár605b6552021-08-15 16:27:37 +020051
Simon Glass2c844c42017-06-14 21:28:26 -060052config DWC_AHCI
53 bool "Enable Synopsys DWC AHCI driver support"
54 select SCSI_AHCI
55 select PHY
Tom Rini15a2ab52023-10-27 20:59:51 -040056 depends on SCSI
Simon Glass2c844c42017-06-14 21:28:26 -060057 help
58 Enable this driver to support Sata devices through
59 Synopsys DWC AHCI module.
60
Tuomas Tynkkynen745edca2017-12-08 15:36:18 +020061config DWC_AHSATA
62 bool "Enable DWC AHSATA driver support"
Tuomas Tynkkynenfc1a4de2017-12-08 15:36:20 +020063 select LIBATA
Tuomas Tynkkynen745edca2017-12-08 15:36:18 +020064 help
65 Enable this driver to support the DWC AHSATA SATA controller found
66 in i.MX5 and i.MX6 SoCs.
67
Soeren Moch5569bbd2019-03-01 13:10:59 +010068config DWC_AHSATA_AHCI
69 bool "Enable DWC AHSATA AHCI driver support"
70 depends on DWC_AHSATA
Soeren Moch5569bbd2019-03-01 13:10:59 +010071 default y
72 help
73 Enable this option unless you need your private ahci implementation
74
Simon Glassd31075b2022-01-31 07:49:35 -070075config MTK_AHCI
76 bool "Enable Mediatek AHCI driver support"
Andre Przywara0931e372019-04-12 16:28:54 +053077 help
Simon Glassd31075b2022-01-31 07:49:35 -070078 Enable this driver to support Sata devices through
79 Mediatek AHCI controller (e.g. MT7622).
Andre Przywara0931e372019-04-12 16:28:54 +053080
Patrick Rudolph33169ec2024-10-23 15:20:00 +020081config AHCI_GENERIC
82 bool "Generic AHCI SATA support"
83 depends on OF_CONTROL
Ken Ma3984dac2018-05-25 15:49:24 +080084 select SCSI_AHCI
Tom Rini15a2ab52023-10-27 20:59:51 -040085 select SCSI
Ken Ma3984dac2018-05-25 15:49:24 +080086 help
Patrick Rudolph33169ec2024-10-23 15:20:00 +020087 This option enables support for generic onboard AHCI SATA controller
88 that do not need platform specific quirks, like emulated devices,
89 Marvell EBU SoC's onboard AHCI SATA controllers or Cavium's Octeon
90 7130 AHCI controllers.
Ken Ma3984dac2018-05-25 15:49:24 +080091
92 If unsure, say N.
Frank Wunderlich1e2dc602020-08-13 10:20:47 +020093
Simon Glassd31075b2022-01-31 07:49:35 -070094config SUNXI_AHCI
95 bool "Enable Allwinner SATA driver support"
96 default y if ARCH_SUNXI
Frank Wunderlich1e2dc602020-08-13 10:20:47 +020097 help
Simon Glassd31075b2022-01-31 07:49:35 -070098 Enable this driver to support the SATA controllers found in the
99 Allwinner A10, A20 and R40 SoCs.
100
101endif # AHCI
Frank Wunderlich1e2dc602020-08-13 10:20:47 +0200102
Simon Glass701ef062022-01-31 07:49:33 -0700103if SATA
104
105config SATA_CEVA
106 bool "Ceva Sata controller"
107 depends on AHCI
Tom Rini15a2ab52023-10-27 20:59:51 -0400108 depends on SCSI
Simon Glass701ef062022-01-31 07:49:33 -0700109 help
110 This option enables Ceva Sata controller hard IP available on Xilinx
111 ZynqMP. Support up to 2 external devices. Compliant with SATA 3.1 and
112 AHCI 1.3 specifications with hot-plug detect feature.
113
114config FSL_SATA
115 bool "Enable Freescale SATA controller driver support"
Tom Rini276d75e2022-06-10 22:59:27 -0400116 depends on PPC
Simon Glass701ef062022-01-31 07:49:33 -0700117 select AHCI
118 select LIBATA
Tom Rini3f004772022-06-10 22:59:28 -0400119 imply LBA48
Simon Glass701ef062022-01-31 07:49:33 -0700120 help
121 Enable this driver to support the SATA controller found in
122 some Freescale PowerPC SoCs.
123
Tom Rini276d75e2022-06-10 22:59:27 -0400124config FSL_SATA_V2
125 bool "Enable support for V2 of the Freescale SATA controller"
126 depends on FSL_SATA
127 help
128 Enable support for V2 of this controller, rather than V1.
129
Simon Glass701ef062022-01-31 07:49:33 -0700130config SATA_MV
131 bool "Enable Marvell SATA controller driver support"
132 select AHCI
133 select LIBATA
134 help
135 Enable this driver to support the SATA controller found in
136 some Marvell SoCs.
137
138config SATA_SIL
139 bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
Pali Rohárd7320232022-12-29 18:15:35 +0100140 depends on PCI
Simon Glass701ef062022-01-31 07:49:33 -0700141 select AHCI
142 select LIBATA
143 help
144 Enable this driver to support the SIL3131, SIL3132 and SIL3124
145 SATA controllers.
146
Simon Glass231e7742022-01-31 07:49:37 -0700147config SYS_SATA_MAX_DEVICE
148 int "Maximum number of SATA devices"
149 depends on !AHCI || FSL_SATA || SATA_MV
150 help
151 Sets the maximum number of SATA devices which can be supported
152 by U-Boot.
153
154 This is only partially converted to driver model. See sata_bread()
155 for example, which shows where the conversion needs to be completed.
156
Simon Glass701ef062022-01-31 07:49:33 -0700157endif # SATA
158
Simon Glass2c844c42017-06-14 21:28:26 -0600159endmenu