xref: /aosp_15_r20/external/coreboot/payloads/libpayload/drivers/storage/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1##
2##
3## SPDX-License-Identifier: GPL-2.0-only
4
5config STORAGE
6	bool "Support for storage devices"
7	default y if !CHROMEOS
8	help
9	  Select this option if you want support for storage devices (like
10	  hard drives, memory sticks or optical drives).
11
12config STORAGE_64BIT_LBA
13	bool "Use 64-bit integers to address sectors"
14	depends on STORAGE
15	default y
16	help
17	  If this is selected, sectors will be addressed by an 64-bit integer.
18	  Select this to support LBA-48 for ATA drives.
19
20config STORAGE_ATA
21	bool "Support ATA drives (i.e. hard drives)"
22	depends on STORAGE
23	default y
24	help
25	  Select this option if you want support for ATA storage devices
26	  (i.e. hard drives).
27
28config STORAGE_ATAPI
29	bool "Support ATAPI drives (i.e. optical drives)"
30	depends on STORAGE
31	default y
32	select STORAGE_ATA
33	help
34	  Select this option if you want support for ATAPI storage devices
35	  (i.e. optical drives like CD or DVD drives).
36
37config STORAGE_AHCI
38	bool "Support for AHCI host controllers"
39	depends on STORAGE && (STORAGE_ATA || STORAGE_ATAPI) && PCI
40	default y
41	help
42	  Select this option if you want support for SATA controllers in
43	  AHCI mode.
44
45config STORAGE_AHCI_ONLY_TESTED
46	bool "Only enable tested controllers"
47	depends on STORAGE_AHCI
48	default n
49	help
50	  If this option is selected, only AHCI controllers which are known
51	  to work will be used.
52
53config STORAGE_NVME
54	bool "Support for NVMe devices"
55	depends on STORAGE && PCI
56	default y
57	help
58	  Select this option if you want support for NVMe devices.
59