blob: c3f2ac058a3aeb652a04a1f836882c0474145ef9 [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"
Simon Glass7f8967c2022-08-11 19:34:48 -060012 select SPL_LEGACY_BLOCK
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
Simon Glassf73a7562022-01-31 07:49:35 -070044if AHCI
45
Pali Rohár73059522021-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
Simon Glass6c040552022-08-11 19:34:42 -060050 depends on SPL_SATA && DM_SCSI
Pali Rohár73059522021-08-15 16:27:37 +020051
Simon Glassf2105c62017-06-14 21:28:26 -060052config DWC_AHCI
53 bool "Enable Synopsys DWC AHCI driver support"
54 select SCSI_AHCI
55 select PHY
56 depends on DM_SCSI
57 help
58 Enable this driver to support Sata devices through
59 Synopsys DWC AHCI module.
60
Tuomas Tynkkynen477b16a2017-12-08 15:36:18 +020061config DWC_AHSATA
62 bool "Enable DWC AHSATA driver support"
Tuomas Tynkkynenb82e6672017-12-08 15:36:20 +020063 select LIBATA
Tom Rini90932da2021-02-09 21:42:44 -050064 depends on BLK
Tuomas Tynkkynen477b16a2017-12-08 15:36:18 +020065 help
66 Enable this driver to support the DWC AHSATA SATA controller found
67 in i.MX5 and i.MX6 SoCs.
68
Soeren Moch046a69b2019-03-01 13:10:59 +010069config DWC_AHSATA_AHCI
70 bool "Enable DWC AHSATA AHCI driver support"
71 depends on DWC_AHSATA
Soeren Moch046a69b2019-03-01 13:10:59 +010072 default y
73 help
74 Enable this option unless you need your private ahci implementation
75
Simon Glassf73a7562022-01-31 07:49:35 -070076config MTK_AHCI
77 bool "Enable Mediatek AHCI driver support"
Andre Przywaraf8c86692019-04-12 16:28:54 +053078 help
Simon Glassf73a7562022-01-31 07:49:35 -070079 Enable this driver to support Sata devices through
80 Mediatek AHCI controller (e.g. MT7622).
Andre Przywaraf8c86692019-04-12 16:28:54 +053081
Ken Ma592b4a72018-05-25 15:49:24 +080082config AHCI_MVEBU
83 bool "Marvell EBU AHCI SATA support"
Stefan Roese1eefd492021-04-07 09:12:34 +020084 depends on ARCH_MVEBU || ARCH_OCTEON
Ken Ma592b4a72018-05-25 15:49:24 +080085 select SCSI_AHCI
Ken Ma6ac85382018-05-25 15:49:26 +080086 select DM_SCSI
Ken Ma592b4a72018-05-25 15:49:24 +080087 help
88 This option enables support for the Marvell EBU SoC's
89 onboard AHCI SATA.
90
91 If unsure, say N.
Frank Wunderlich38bff322020-08-13 10:20:47 +020092
Simon Glassf73a7562022-01-31 07:49:35 -070093config SUNXI_AHCI
94 bool "Enable Allwinner SATA driver support"
95 default y if ARCH_SUNXI
Frank Wunderlich38bff322020-08-13 10:20:47 +020096 help
Simon Glassf73a7562022-01-31 07:49:35 -070097 Enable this driver to support the SATA controllers found in the
98 Allwinner A10, A20 and R40 SoCs.
99
100endif # AHCI
Frank Wunderlich38bff322020-08-13 10:20:47 +0200101
Simon Glass6edb5dd2022-01-31 07:49:33 -0700102if SATA
103
104config SATA_CEVA
105 bool "Ceva Sata controller"
106 depends on AHCI
107 depends on DM_SCSI
108 help
109 This option enables Ceva Sata controller hard IP available on Xilinx
110 ZynqMP. Support up to 2 external devices. Compliant with SATA 3.1 and
111 AHCI 1.3 specifications with hot-plug detect feature.
112
113config FSL_SATA
114 bool "Enable Freescale SATA controller driver support"
Tom Rini0a816d92022-06-10 22:59:27 -0400115 depends on PPC
Simon Glass6edb5dd2022-01-31 07:49:33 -0700116 select AHCI
117 select LIBATA
Tom Riniaca1f672022-06-10 22:59:28 -0400118 imply LBA48
Simon Glass6edb5dd2022-01-31 07:49:33 -0700119 help
120 Enable this driver to support the SATA controller found in
121 some Freescale PowerPC SoCs.
122
Tom Rini0a816d92022-06-10 22:59:27 -0400123config FSL_SATA_V2
124 bool "Enable support for V2 of the Freescale SATA controller"
125 depends on FSL_SATA
126 help
127 Enable support for V2 of this controller, rather than V1.
128
Simon Glass6edb5dd2022-01-31 07:49:33 -0700129config SATA_MV
130 bool "Enable Marvell SATA controller driver support"
131 select AHCI
132 select LIBATA
133 help
134 Enable this driver to support the SATA controller found in
135 some Marvell SoCs.
136
137config SATA_SIL
138 bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
139 select AHCI
140 select LIBATA
141 help
142 Enable this driver to support the SIL3131, SIL3132 and SIL3124
143 SATA controllers.
144
Simon Glassedca8cf2022-01-31 07:49:37 -0700145config SYS_SATA_MAX_DEVICE
146 int "Maximum number of SATA devices"
147 depends on !AHCI || FSL_SATA || SATA_MV
148 help
149 Sets the maximum number of SATA devices which can be supported
150 by U-Boot.
151
152 This is only partially converted to driver model. See sata_bread()
153 for example, which shows where the conversion needs to be completed.
154
Simon Glass6edb5dd2022-01-31 07:49:33 -0700155endif # SATA
156
Simon Glassf2105c62017-06-14 21:28:26 -0600157endmenu