| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config COMMONLIB_STORAGE |
| 4 |
bool |
| 5 |
default n |
| 6 |
|
| 7 |
if COMMONLIB_STORAGE |
| 8 |
|
| 9 |
config COMMONLIB_STORAGE_MMC |
| 10 |
bool "Enable MultiMediaCard (MMC) and eMMC device support" |
| 11 |
default n |
| 12 |
|
| 13 |
config COMMONLIB_STORAGE_SD |
| 14 |
bool "Enable Secure Digital (SD) memory card support" |
| 15 |
default n |
| 16 |
|
| 17 |
config STORAGE_ERASE |
| 18 |
bool "Support SD/MMC erase operations" |
| 19 |
default n |
| 20 |
help |
| 21 |
Select to enable SD/MMC erase oprations |
| 22 |
|
| 23 |
config STORAGE_EARLY_ERASE |
| 24 |
bool "Enable erase operations in bootblock and verstage" |
| 25 |
default n |
| 26 |
depends on STORAGE_ERASE |
| 27 |
|
| 28 |
config STORAGE_WRITE |
| 29 |
bool "Support SD/MMC write operations" |
| 30 |
default n |
| 31 |
help |
| 32 |
Select to enable SD/MMC write oprations |
| 33 |
|
| 34 |
config STORAGE_EARLY_WRITE |
| 35 |
bool "Enable write operations in bootblock and verstage" |
| 36 |
default n |
| 37 |
depends on STORAGE_WRITE |
| 38 |
|
| 39 |
config 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 |
|
| 45 |
config 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 |
|
| 51 |
config SDHC_DEBUG |
| 52 |
bool "Debug SD/MMC controller settings" |
| 53 |
default n |
| 54 |
help |
| 55 |
Display clock speed and bus width settings |
| 56 |
|
| 57 |
config 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 |
|
| 63 |
config SDHCI_CONTROLLER |
| 64 |
bool "Support SD host controller" |
| 65 |
default n |
| 66 |
|
| 67 |
if SDHCI_CONTROLLER |
| 68 |
|
| 69 |
config SDHCI_ADMA_IN_BOOTBLOCK |
| 70 |
bool |
| 71 |
default n |
| 72 |
help |
| 73 |
Determine if bootblock is able to use ADMA2 or ADMA64 |
| 74 |
|
| 75 |
config SDHCI_ADMA_IN_ROMSTAGE |
| 76 |
bool |
| 77 |
default n |
| 78 |
help |
| 79 |
Determine if romstage is able to use ADMA2 or ADMA64 |
| 80 |
|
| 81 |
config SDHCI_ADMA_IN_VERSTAGE |
| 82 |
bool |
| 83 |
default n |
| 84 |
help |
| 85 |
Determine if verstage is able to use ADMA2 or ADMA64 |
| 86 |
|
| 87 |
config SDHCI_BOUNCE_BUFFER |
| 88 |
bool "Use DMA bounce buffer for SD/MMC controller" |
| 89 |
default n |
| 90 |
|
| 91 |
endif # SDHCI_CONTROLLER |
| 92 |
endif # COMMONLIB_STORAGE |