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" |
Simon Glass | edc4777 | 2022-01-31 07:49:32 -0700 | [diff] [blame] | 12 | depends on BLK |
Adam Ford | b10ba90 | 2018-02-06 12:43:56 -0600 | [diff] [blame] | 13 | select HAVE_BLOCK_DEVICE |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 14 | help |
| 15 | This enables support for SATA (Serial Advanced Technology |
| 16 | Attachment), a serial bus standard for connecting to hard drives and |
| 17 | other storage devices. |
| 18 | |
| 19 | SATA replaces PATA (originally just ATA), which stands for Parallel AT |
| 20 | Attachment, where AT refers to an IBM AT (Advanced Technology) |
| 21 | computer released in 1984. |
| 22 | |
| 23 | See also CMD_SATA which provides command-line support. |
| 24 | |
Tuomas Tynkkynen | fc1a4de | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 25 | config LIBATA |
| 26 | bool |
| 27 | help |
| 28 | Select this to build and link the libata helper functions. |
| 29 | |
Tuomas Tynkkynen | edf9f62 | 2017-12-08 15:36:19 +0200 | [diff] [blame] | 30 | config SCSI_AHCI |
| 31 | bool "Enable SCSI interface to SATA devices" |
Tuomas Tynkkynen | fc1a4de | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 32 | select LIBATA |
Tuomas Tynkkynen | edf9f62 | 2017-12-08 15:36:19 +0200 | [diff] [blame] | 33 | help |
| 34 | Enable this to allow interfacing SATA devices via the SCSI layer. |
| 35 | |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 36 | menu "SATA/SCSI device support" |
| 37 | |
Bin Meng | 239a09b | 2017-07-30 19:23:59 -0700 | [diff] [blame] | 38 | config AHCI_PCI |
| 39 | bool "Support for PCI-based AHCI controller" |
Tom Rini | 61e401e | 2021-09-16 11:45:03 -0400 | [diff] [blame] | 40 | depends on PCI |
Bin Meng | 239a09b | 2017-07-30 19:23:59 -0700 | [diff] [blame] | 41 | depends on DM_SCSI |
| 42 | help |
| 43 | Enables support for the PCI-based AHCI controller. |
| 44 | |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 45 | if AHCI |
| 46 | |
Pali Rohár | 605b655 | 2021-08-15 16:27:37 +0200 | [diff] [blame] | 47 | config SPL_AHCI_PCI |
| 48 | bool "Support for PCI-based AHCI controller for SPL" |
| 49 | depends on SPL |
| 50 | depends on SPL_PCI |
Oleksandr Suvorov | ab15aea | 2022-08-25 20:03:51 +0300 | [diff] [blame] | 51 | depends on SPL_SATA && DM_SCSI |
Pali Rohár | 605b655 | 2021-08-15 16:27:37 +0200 | [diff] [blame] | 52 | |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 53 | config DWC_AHCI |
| 54 | bool "Enable Synopsys DWC AHCI driver support" |
| 55 | select SCSI_AHCI |
| 56 | select PHY |
| 57 | depends on DM_SCSI |
| 58 | help |
| 59 | Enable this driver to support Sata devices through |
| 60 | Synopsys DWC AHCI module. |
| 61 | |
Tuomas Tynkkynen | 745edca | 2017-12-08 15:36:18 +0200 | [diff] [blame] | 62 | config DWC_AHSATA |
| 63 | bool "Enable DWC AHSATA driver support" |
Tuomas Tynkkynen | fc1a4de | 2017-12-08 15:36:20 +0200 | [diff] [blame] | 64 | select LIBATA |
Tom Rini | 2398bbc | 2021-02-09 21:42:44 -0500 | [diff] [blame] | 65 | depends on BLK |
Tuomas Tynkkynen | 745edca | 2017-12-08 15:36:18 +0200 | [diff] [blame] | 66 | help |
| 67 | Enable this driver to support the DWC AHSATA SATA controller found |
| 68 | in i.MX5 and i.MX6 SoCs. |
| 69 | |
Soeren Moch | 5569bbd | 2019-03-01 13:10:59 +0100 | [diff] [blame] | 70 | config DWC_AHSATA_AHCI |
| 71 | bool "Enable DWC AHSATA AHCI driver support" |
| 72 | depends on DWC_AHSATA |
Soeren Moch | 5569bbd | 2019-03-01 13:10:59 +0100 | [diff] [blame] | 73 | default y |
| 74 | help |
| 75 | Enable this option unless you need your private ahci implementation |
| 76 | |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 77 | config MTK_AHCI |
| 78 | bool "Enable Mediatek AHCI driver support" |
Andre Przywara | 0931e37 | 2019-04-12 16:28:54 +0530 | [diff] [blame] | 79 | help |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 80 | Enable this driver to support Sata devices through |
| 81 | Mediatek AHCI controller (e.g. MT7622). |
Andre Przywara | 0931e37 | 2019-04-12 16:28:54 +0530 | [diff] [blame] | 82 | |
Ken Ma | 3984dac | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 83 | config AHCI_MVEBU |
| 84 | bool "Marvell EBU AHCI SATA support" |
Stefan Roese | c62067b | 2021-04-07 09:12:34 +0200 | [diff] [blame] | 85 | depends on ARCH_MVEBU || ARCH_OCTEON |
Ken Ma | 3984dac | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 86 | select SCSI_AHCI |
Ken Ma | c3f0ca1 | 2018-05-25 15:49:26 +0800 | [diff] [blame] | 87 | select DM_SCSI |
Ken Ma | 3984dac | 2018-05-25 15:49:24 +0800 | [diff] [blame] | 88 | help |
| 89 | This option enables support for the Marvell EBU SoC's |
| 90 | onboard AHCI SATA. |
| 91 | |
| 92 | If unsure, say N. |
Frank Wunderlich | 1e2dc60 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 93 | |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 94 | config SUNXI_AHCI |
| 95 | bool "Enable Allwinner SATA driver support" |
| 96 | default y if ARCH_SUNXI |
Frank Wunderlich | 1e2dc60 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 97 | help |
Simon Glass | d31075b | 2022-01-31 07:49:35 -0700 | [diff] [blame] | 98 | Enable this driver to support the SATA controllers found in the |
| 99 | Allwinner A10, A20 and R40 SoCs. |
| 100 | |
| 101 | endif # AHCI |
Frank Wunderlich | 1e2dc60 | 2020-08-13 10:20:47 +0200 | [diff] [blame] | 102 | |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 103 | if SATA |
| 104 | |
| 105 | config SATA_CEVA |
| 106 | bool "Ceva Sata controller" |
| 107 | depends on AHCI |
| 108 | depends on DM_SCSI |
| 109 | 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 | |
| 114 | config FSL_SATA |
| 115 | bool "Enable Freescale SATA controller driver support" |
Tom Rini | 276d75e | 2022-06-10 22:59:27 -0400 | [diff] [blame] | 116 | depends on PPC |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 117 | select AHCI |
| 118 | select LIBATA |
Tom Rini | 3f00477 | 2022-06-10 22:59:28 -0400 | [diff] [blame] | 119 | imply LBA48 |
Simon Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 120 | help |
| 121 | Enable this driver to support the SATA controller found in |
| 122 | some Freescale PowerPC SoCs. |
| 123 | |
Tom Rini | 276d75e | 2022-06-10 22:59:27 -0400 | [diff] [blame] | 124 | config 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 Glass | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 130 | config 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 | |
| 138 | config SATA_SIL |
| 139 | bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support" |
| 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 | 231e774 | 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 | 701ef06 | 2022-01-31 07:49:33 -0700 | [diff] [blame] | 156 | endif # SATA |
| 157 | |
Simon Glass | 2c844c4 | 2017-06-14 21:28:26 -0600 | [diff] [blame] | 158 | endmenu |