Simon Glass | f2105c6 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 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 | |
Tuomas Tynkkynen | b82e667 | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 23 | config LIBATA |
| 24 | bool |
| 25 | help |
| 26 | Select this to build and link the libata helper functions. |
| 27 | |
Tuomas Tynkkynen | 9fd95ef | 2017-12-08 15:36:19 +0200 | [diff] [blame] | 28 | config SCSI_AHCI |
| 29 | bool "Enable SCSI interface to SATA devices" |
Tuomas Tynkkynen | b82e667 | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 30 | select LIBATA |
Tuomas Tynkkynen | 9fd95ef | 2017-12-08 15:36:19 +0200 | [diff] [blame] | 31 | help |
| 32 | Enable this to allow interfacing SATA devices via the SCSI layer. |
| 33 | |
Simon Glass | f2105c6 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 34 | menu "SATA/SCSI device support" |
| 35 | |
Bin Meng | a5c680f | 2017-07-30 19:23:59 -0700 | [diff] [blame] | 36 | config AHCI_PCI |
| 37 | bool "Support for PCI-based AHCI controller" |
Tom Rini | 36f890f | 2021-09-16 11:45:03 -0400 | [diff] [blame] | 38 | depends on PCI |
Tom Rini | b630f8b | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 39 | depends on SCSI |
Heinrich Schuchardt | 480c1d6 | 2023-03-26 18:58:25 +0200 | [diff] [blame] | 40 | depends on SCSI_AHCI |
Bin Meng | a5c680f | 2017-07-30 19:23:59 -0700 | [diff] [blame] | 41 | help |
| 42 | Enables support for the PCI-based AHCI controller. |
| 43 | |
Simon Glass | f73a756 | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 44 | if AHCI |
| 45 | |
Pali Rohár | 7305952 | 2021-08-15 16:27:37 +0200 | [diff] [blame] | 46 | config SPL_AHCI_PCI |
| 47 | bool "Support for PCI-based AHCI controller for SPL" |
| 48 | depends on SPL |
| 49 | depends on SPL_PCI |
Tom Rini | b630f8b | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 50 | depends on SPL_SATA && SCSI |
Pali Rohár | 7305952 | 2021-08-15 16:27:37 +0200 | [diff] [blame] | 51 | |
Simon Glass | f2105c6 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 52 | config DWC_AHCI |
| 53 | bool "Enable Synopsys DWC AHCI driver support" |
| 54 | select SCSI_AHCI |
| 55 | select PHY |
Tom Rini | b630f8b | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 56 | depends on SCSI |
Simon Glass | f2105c6 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 57 | help |
| 58 | Enable this driver to support Sata devices through |
| 59 | Synopsys DWC AHCI module. |
| 60 | |
Tuomas Tynkkynen | 477b16a | 2017-12-08 15:36:18 +0200 | [diff] [blame] | 61 | config DWC_AHSATA |
| 62 | bool "Enable DWC AHSATA driver support" |
Tuomas Tynkkynen | b82e667 | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 63 | select LIBATA |
Tom Rini | 90932da | 2021-02-09 21:42:44 -0500 | [diff] [blame] | 64 | depends on BLK |
Tuomas Tynkkynen | 477b16a | 2017-12-08 15:36:18 +0200 | [diff] [blame] | 65 | help |
| 66 | Enable this driver to support the DWC AHSATA SATA controller found |
| 67 | in i.MX5 and i.MX6 SoCs. |
| 68 | |
Soeren Moch | 046a69b | 2019-03-01 13:10:59 +0100 | [diff] [blame] | 69 | config DWC_AHSATA_AHCI |
| 70 | bool "Enable DWC AHSATA AHCI driver support" |
| 71 | depends on DWC_AHSATA |
Soeren Moch | 046a69b | 2019-03-01 13:10:59 +0100 | [diff] [blame] | 72 | default y |
| 73 | help |
| 74 | Enable this option unless you need your private ahci implementation |
| 75 | |
Simon Glass | f73a756 | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 76 | config MTK_AHCI |
| 77 | bool "Enable Mediatek AHCI driver support" |
Andre Przywara | f8c8669 | 2019-04-12 16:28:54 +0530 | [diff] [blame] | 78 | help |
Simon Glass | f73a756 | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 79 | Enable this driver to support Sata devices through |
| 80 | Mediatek AHCI controller (e.g. MT7622). |
Andre Przywara | f8c8669 | 2019-04-12 16:28:54 +0530 | [diff] [blame] | 81 | |
Ken Ma | 592b4a7 | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 82 | config AHCI_MVEBU |
| 83 | bool "Marvell EBU AHCI SATA support" |
Stefan Roese | 1eefd49 | 2021-04-07 09:12:34 +0200 | [diff] [blame] | 84 | depends on ARCH_MVEBU || ARCH_OCTEON |
Ken Ma | 592b4a7 | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 85 | select SCSI_AHCI |
Tom Rini | b630f8b | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 86 | select SCSI |
Ken Ma | 592b4a7 | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 87 | help |
| 88 | This option enables support for the Marvell EBU SoC's |
| 89 | onboard AHCI SATA. |
| 90 | |
| 91 | If unsure, say N. |
Frank Wunderlich | 38bff32 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 92 | |
Simon Glass | f73a756 | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 93 | config SUNXI_AHCI |
| 94 | bool "Enable Allwinner SATA driver support" |
| 95 | default y if ARCH_SUNXI |
Frank Wunderlich | 38bff32 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 96 | help |
Simon Glass | f73a756 | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 97 | Enable this driver to support the SATA controllers found in the |
| 98 | Allwinner A10, A20 and R40 SoCs. |
| 99 | |
| 100 | endif # AHCI |
Frank Wunderlich | 38bff32 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 101 | |
Simon Glass | 6edb5dd | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 102 | if SATA |
| 103 | |
| 104 | config SATA_CEVA |
| 105 | bool "Ceva Sata controller" |
| 106 | depends on AHCI |
Tom Rini | b630f8b | 2023-10-27 20:59:51 -0400 | [diff] [blame] | 107 | depends on SCSI |
Simon Glass | 6edb5dd | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 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 | |
| 113 | config FSL_SATA |
| 114 | bool "Enable Freescale SATA controller driver support" |
Tom Rini | 0a816d9 | 2022-06-10 22:59:27 -0400 | [diff] [blame] | 115 | depends on PPC |
Simon Glass | 6edb5dd | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 116 | select AHCI |
| 117 | select LIBATA |
Tom Rini | aca1f67 | 2022-06-10 22:59:28 -0400 | [diff] [blame] | 118 | imply LBA48 |
Simon Glass | 6edb5dd | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 119 | help |
| 120 | Enable this driver to support the SATA controller found in |
| 121 | some Freescale PowerPC SoCs. |
| 122 | |
Tom Rini | 0a816d9 | 2022-06-10 22:59:27 -0400 | [diff] [blame] | 123 | config 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 Glass | 6edb5dd | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 129 | config 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 | |
| 137 | config SATA_SIL |
| 138 | bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support" |
Pali Rohár | 3133651 | 2022-12-29 18:15:35 +0100 | [diff] [blame] | 139 | depends on PCI |
Simon Glass | 6edb5dd | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 140 | select AHCI |
| 141 | select LIBATA |
| 142 | help |
| 143 | Enable this driver to support the SIL3131, SIL3132 and SIL3124 |
| 144 | SATA controllers. |
| 145 | |
Simon Glass | edca8cf | 2022-01-31 07:49:37 -0700 | [diff] [blame] | 146 | config SYS_SATA_MAX_DEVICE |
| 147 | int "Maximum number of SATA devices" |
| 148 | depends on !AHCI || FSL_SATA || SATA_MV |
| 149 | help |
| 150 | Sets the maximum number of SATA devices which can be supported |
| 151 | by U-Boot. |
| 152 | |
| 153 | This is only partially converted to driver model. See sata_bread() |
| 154 | for example, which shows where the conversion needs to be completed. |
| 155 | |
Simon Glass | 6edb5dd | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 156 | endif # SATA |
| 157 | |
Simon Glass | f2105c6 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 158 | endmenu |