1 ## SPDX-License-Identifier: GPL-2.0-only
3 config COMMONLIB_STORAGE
9 config COMMONLIB_STORAGE_MMC
10 bool "Enable MultiMediaCard (MMC) and eMMC device support"
13 config COMMONLIB_STORAGE_SD
14 bool "Enable Secure Digital (SD) memory card support"
18 bool "Support SD/MMC erase operations"
21 Select to enable SD/MMC erase oprations
23 config STORAGE_EARLY_ERASE
24 bool "Enable erase operations in bootblock and verstage"
26 depends on STORAGE_ERASE
29 bool "Support SD/MMC write operations"
32 Select to enable SD/MMC write oprations
34 config STORAGE_EARLY_WRITE
35 bool "Enable write operations in bootblock and verstage"
37 depends on STORAGE_WRITE
40 bool "Debug SD/MMC card/devices operations"
43 Display overview of SD/MMC card/device operations
46 bool "Trace SD/MMC card/device operations"
49 Display details of SD/MMC card/device operations
52 bool "Debug SD/MMC controller settings"
55 Display clock speed and bus width settings
58 bool "Trace SD/MMC controller operations"
61 Display the operations performed by the SD/MMC controller
63 config SDHCI_CONTROLLER
64 bool "Support SD host controller"
69 config SDHCI_ADMA_IN_BOOTBLOCK
73 Determine if bootblock is able to use ADMA2 or ADMA64
75 config SDHCI_ADMA_IN_ROMSTAGE
79 Determine if romstage is able to use ADMA2 or ADMA64
81 config SDHCI_ADMA_IN_VERSTAGE
85 Determine if verstage is able to use ADMA2 or ADMA64
87 config SDHCI_BOUNCE_BUFFER
88 bool "Use DMA bounce buffer for SD/MMC controller"
91 endif # SDHCI_CONTROLLER
92 endif # COMMONLIB_STORAGE