xref: /aosp_15_r20/external/coreboot/src/commonlib/storage/Kconfig (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1## SPDX-License-Identifier: GPL-2.0-only
2
3config COMMONLIB_STORAGE
4	bool
5	default n
6
7if COMMONLIB_STORAGE
8
9config COMMONLIB_STORAGE_MMC
10	bool "Enable MultiMediaCard (MMC) and eMMC device support"
11	default n
12
13config COMMONLIB_STORAGE_SD
14	bool "Enable Secure Digital (SD) memory card support"
15	default n
16
17config STORAGE_ERASE
18	bool "Support SD/MMC erase operations"
19	default n
20	help
21	  Select to enable SD/MMC erase oprations
22
23config STORAGE_EARLY_ERASE
24	bool "Enable erase operations in bootblock and verstage"
25	default n
26	depends on STORAGE_ERASE
27
28config STORAGE_WRITE
29	bool "Support SD/MMC write operations"
30	default n
31	help
32	  Select to enable SD/MMC write oprations
33
34config STORAGE_EARLY_WRITE
35	bool "Enable write operations in bootblock and verstage"
36	default n
37	depends on STORAGE_WRITE
38
39config SD_MMC_DEBUG
40	bool "Debug SD/MMC card/devices operations"
41	default n
42	help
43	  Display overview of SD/MMC card/device operations
44
45config SD_MMC_TRACE
46	bool "Trace SD/MMC card/device operations"
47	default n
48	help
49	  Display details of SD/MMC card/device operations
50
51config SDHC_DEBUG
52	bool "Debug SD/MMC controller settings"
53	default n
54	help
55	  Display clock speed and bus width settings
56
57config SDHC_TRACE
58	bool "Trace SD/MMC controller operations"
59	default n
60	help
61	  Display the operations performed by the SD/MMC controller
62
63config SDHCI_CONTROLLER
64	bool "Support SD host controller"
65	default n
66
67if SDHCI_CONTROLLER
68
69config SDHCI_ADMA_IN_BOOTBLOCK
70	bool
71	default n
72	help
73	  Determine if bootblock is able to use ADMA2 or ADMA64
74
75config SDHCI_ADMA_IN_ROMSTAGE
76	bool
77	default n
78	help
79	  Determine if romstage is able to use ADMA2 or ADMA64
80
81config SDHCI_ADMA_IN_VERSTAGE
82	bool
83	default n
84	help
85	  Determine if verstage is able to use ADMA2 or ADMA64
86
87config SDHCI_BOUNCE_BUFFER
88	bool "Use DMA bounce buffer for SD/MMC controller"
89	default n
90
91endif # SDHCI_CONTROLLER
92endif # COMMONLIB_STORAGE
93