Simon Glass | 2c844c4 | 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 | |
Heinrich Schuchardt | d6f93b3 | 2023-03-26 18:58:26 +0200 | [diff] [blame] | 23 | config SYS_SATA_MAX_PORTS |
| 24 | int "Maximum supported SATA ports" |
| 25 | depends on SCSI_AHCI && !DM_SCSI |
| 26 | default 1 |
| 27 | help |
| 28 | Sets the maximum number of ports to scan when looking for devices. |
| 29 | Ports from 0 to (this value - 1) are scanned. |
| 30 | |
Tuomas Tynkkynen | fc1a4de | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 31 | config LIBATA |
| 32 | bool |
| 33 | help |
| 34 | Select this to build and link the libata helper functions. |
| 35 | |
Tuomas Tynkkynen | edf9f62 | 2017-12-08 15:36:19 +0200 | [diff] [blame] | 36 | config SCSI_AHCI |
| 37 | bool "Enable SCSI interface to SATA devices" |
Tuomas Tynkkynen | fc1a4de | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 38 | select LIBATA |
Tuomas Tynkkynen | edf9f62 | 2017-12-08 15:36:19 +0200 | [diff] [blame] | 39 | help |
| 40 | Enable this to allow interfacing SATA devices via the SCSI layer. |
| 41 | |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 42 | menu "SATA/SCSI device support" |
| 43 | |
Bin Meng | 239a09b | 2017-07-30 19:23:59 -0700 | [diff] [blame] | 44 | config AHCI_PCI |
| 45 | bool "Support for PCI-based AHCI controller" |
Tom Rini | 61e401e | 2021-09-16 11:45:03 -0400 | [diff] [blame] | 46 | depends on PCI |
Bin Meng | 239a09b | 2017-07-30 19:23:59 -0700 | [diff] [blame] | 47 | depends on DM_SCSI |
Heinrich Schuchardt | a618d7a | 2023-03-26 18:58:25 +0200 | [diff] [blame] | 48 | depends on SCSI_AHCI |
Bin Meng | 239a09b | 2017-07-30 19:23:59 -0700 | [diff] [blame] | 49 | help |
| 50 | Enables support for the PCI-based AHCI controller. |
| 51 | |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 52 | if AHCI |
| 53 | |
Pali Rohár | 605b655 | 2021-08-15 16:27:37 +0200 | [diff] [blame] | 54 | config SPL_AHCI_PCI |
| 55 | bool "Support for PCI-based AHCI controller for SPL" |
| 56 | depends on SPL |
| 57 | depends on SPL_PCI |
Simon Glass | 952c0fe | 2022-08-11 19:34:42 -0600 | [diff] [blame] | 58 | depends on SPL_SATA && DM_SCSI |
Pali Rohár | 605b655 | 2021-08-15 16:27:37 +0200 | [diff] [blame] | 59 | |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 60 | config 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 Tynkkynen | 745edca | 2017-12-08 15:36:18 +0200 | [diff] [blame] | 69 | config DWC_AHSATA |
| 70 | bool "Enable DWC AHSATA driver support" |
Tuomas Tynkkynen | fc1a4de | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 71 | select LIBATA |
Tom Rini | 2398bbc | 2021-02-09 21:42:44 -0500 | [diff] [blame] | 72 | depends on BLK |
Tuomas Tynkkynen | 745edca | 2017-12-08 15:36:18 +0200 | [diff] [blame] | 73 | help |
| 74 | Enable this driver to support the DWC AHSATA SATA controller found |
| 75 | in i.MX5 and i.MX6 SoCs. |
| 76 | |
Soeren Moch | 5569bbd | 2019-03-01 13:10:59 +0100 | [diff] [blame] | 77 | config DWC_AHSATA_AHCI |
| 78 | bool "Enable DWC AHSATA AHCI driver support" |
| 79 | depends on DWC_AHSATA |
Soeren Moch | 5569bbd | 2019-03-01 13:10:59 +0100 | [diff] [blame] | 80 | default y |
| 81 | help |
| 82 | Enable this option unless you need your private ahci implementation |
| 83 | |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 84 | config MTK_AHCI |
| 85 | bool "Enable Mediatek AHCI driver support" |
Andre Przywara | 0931e37 | 2019-04-12 16:28:54 +0530 | [diff] [blame] | 86 | help |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 87 | Enable this driver to support Sata devices through |
| 88 | Mediatek AHCI controller (e.g. MT7622). |
Andre Przywara | 0931e37 | 2019-04-12 16:28:54 +0530 | [diff] [blame] | 89 | |
Ken Ma | 3984dac | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 90 | config AHCI_MVEBU |
| 91 | bool "Marvell EBU AHCI SATA support" |
Stefan Roese | c62067b | 2021-04-07 09:12:34 +0200 | [diff] [blame] | 92 | depends on ARCH_MVEBU || ARCH_OCTEON |
Ken Ma | 3984dac | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 93 | select SCSI_AHCI |
Ken Ma | c3f0ca1 | 2018-05-25 15:49:26 +0800 | [diff] [blame] | 94 | select DM_SCSI |
Ken Ma | 3984dac | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 95 | help |
| 96 | This option enables support for the Marvell EBU SoC's |
| 97 | onboard AHCI SATA. |
| 98 | |
| 99 | If unsure, say N. |
Frank Wunderlich | 1e2dc60 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 100 | |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 101 | config SUNXI_AHCI |
| 102 | bool "Enable Allwinner SATA driver support" |
| 103 | default y if ARCH_SUNXI |
Frank Wunderlich | 1e2dc60 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 104 | help |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 105 | Enable this driver to support the SATA controllers found in the |
| 106 | Allwinner A10, A20 and R40 SoCs. |
| 107 | |
| 108 | endif # AHCI |
Frank Wunderlich | 1e2dc60 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 109 | |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 110 | if SATA |
| 111 | |
| 112 | config SATA_CEVA |
| 113 | bool "Ceva Sata controller" |
| 114 | depends on AHCI |
| 115 | depends on DM_SCSI |
| 116 | help |
| 117 | This option enables Ceva Sata controller hard IP available on Xilinx |
| 118 | ZynqMP. Support up to 2 external devices. Compliant with SATA 3.1 and |
| 119 | AHCI 1.3 specifications with hot-plug detect feature. |
| 120 | |
| 121 | config FSL_SATA |
| 122 | bool "Enable Freescale SATA controller driver support" |
Tom Rini | 276d75e | 2022-06-10 22:59:27 -0400 | [diff] [blame] | 123 | depends on PPC |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 124 | select AHCI |
| 125 | select LIBATA |
Tom Rini | 3f00477 | 2022-06-10 22:59:28 -0400 | [diff] [blame] | 126 | imply LBA48 |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 127 | help |
| 128 | Enable this driver to support the SATA controller found in |
| 129 | some Freescale PowerPC SoCs. |
| 130 | |
Tom Rini | 276d75e | 2022-06-10 22:59:27 -0400 | [diff] [blame] | 131 | config FSL_SATA_V2 |
| 132 | bool "Enable support for V2 of the Freescale SATA controller" |
| 133 | depends on FSL_SATA |
| 134 | help |
| 135 | Enable support for V2 of this controller, rather than V1. |
| 136 | |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 137 | config SATA_MV |
| 138 | bool "Enable Marvell SATA controller driver support" |
| 139 | select AHCI |
| 140 | select LIBATA |
| 141 | help |
| 142 | Enable this driver to support the SATA controller found in |
| 143 | some Marvell SoCs. |
| 144 | |
| 145 | config SATA_SIL |
| 146 | bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support" |
Pali Rohár | d732023 | 2022-12-29 18:15:35 +0100 | [diff] [blame] | 147 | depends on PCI |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 148 | select AHCI |
| 149 | select LIBATA |
| 150 | help |
| 151 | Enable this driver to support the SIL3131, SIL3132 and SIL3124 |
| 152 | SATA controllers. |
| 153 | |
Simon Glass | 231e774 | 2022-01-31 07:49:37 -0700 | [diff] [blame] | 154 | config SYS_SATA_MAX_DEVICE |
| 155 | int "Maximum number of SATA devices" |
| 156 | depends on !AHCI || FSL_SATA || SATA_MV |
| 157 | help |
| 158 | Sets the maximum number of SATA devices which can be supported |
| 159 | by U-Boot. |
| 160 | |
| 161 | This is only partially converted to driver model. See sata_bread() |
| 162 | for example, which shows where the conversion needs to be completed. |
| 163 | |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 164 | endif # SATA |
| 165 | |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 166 | endmenu |