Lee Leahy | eef40eb | 2017-03-23 10:54:57 -0700 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2017 Intel Corp. |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; version 2 of the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
| 15 | |
Lee Leahy | 48dbc66 | 2017-05-08 16:56:03 -0700 | [diff] [blame] | 16 | config COMMONLIB_STORAGE |
Lee Leahy | eef40eb | 2017-03-23 10:54:57 -0700 | [diff] [blame] | 17 | bool |
| 18 | default n |
| 19 | |
Lee Leahy | 48dbc66 | 2017-05-08 16:56:03 -0700 | [diff] [blame] | 20 | if COMMONLIB_STORAGE |
Lee Leahy | eef40eb | 2017-03-23 10:54:57 -0700 | [diff] [blame] | 21 | |
Lee Leahy | 48dbc66 | 2017-05-08 16:56:03 -0700 | [diff] [blame] | 22 | config COMMONLIB_STORAGE_MMC |
Lee Leahy | eef40eb | 2017-03-23 10:54:57 -0700 | [diff] [blame] | 23 | bool "Enable MultiMediaCard (MMC) and eMMC device support" |
| 24 | default n |
| 25 | |
Lee Leahy | 48dbc66 | 2017-05-08 16:56:03 -0700 | [diff] [blame] | 26 | config COMMONLIB_STORAGE_SD |
Lee Leahy | eef40eb | 2017-03-23 10:54:57 -0700 | [diff] [blame] | 27 | bool "Enable Secure Digital (SD) memory card support" |
| 28 | default n |
| 29 | |
| 30 | config STORAGE_ERASE |
| 31 | bool "Support SD/MMC erase operations" |
| 32 | default n |
| 33 | help |
| 34 | Select to enable SD/MMC erase oprations |
| 35 | |
| 36 | config STORAGE_EARLY_ERASE |
| 37 | bool "Enable erase operations in bootblock and verstage" |
| 38 | default n |
| 39 | depends on STORAGE_ERASE |
| 40 | |
| 41 | config STORAGE_WRITE |
| 42 | bool "Support SD/MMC write operations" |
| 43 | default n |
| 44 | help |
| 45 | Select to enable SD/MMC write oprations |
| 46 | |
| 47 | config STORAGE_EARLY_WRITE |
| 48 | bool "Enable write operations in bootblock and verstage" |
| 49 | default n |
| 50 | depends on STORAGE_WRITE |
| 51 | |
| 52 | config SD_MMC_DEBUG |
| 53 | bool "Debug SD/MMC card/devices operations" |
| 54 | default n |
| 55 | help |
| 56 | Display overview of SD/MMC card/device operations |
| 57 | |
| 58 | config SD_MMC_TRACE |
| 59 | bool "Trace SD/MMC card/device operations" |
| 60 | default n |
| 61 | help |
| 62 | Display details of SD/MMC card/device operations |
| 63 | |
| 64 | config SDHC_DEBUG |
| 65 | bool "Debug SD/MMC controller settings" |
| 66 | default n |
| 67 | help |
| 68 | Display clock speed and bus width settings |
| 69 | |
| 70 | config SDHC_TRACE |
| 71 | bool "Trace SD/MMC controller operations" |
| 72 | default n |
| 73 | help |
| 74 | Display the operations performed by the SD/MMC controller |
| 75 | |
| 76 | config SDHCI_CONTROLLER |
| 77 | bool "Support SD host controller" |
| 78 | default n |
| 79 | |
| 80 | if SDHCI_CONTROLLER |
| 81 | |
| 82 | config SDHCI_ADMA_IN_BOOTBLOCK |
| 83 | bool |
| 84 | default n |
| 85 | help |
| 86 | Determine if bootblock is able to use ADMA2 or ADMA64 |
| 87 | |
| 88 | config SDHCI_ADMA_IN_ROMSTAGE |
| 89 | bool |
| 90 | default n |
| 91 | help |
| 92 | Determine if romstage is able to use ADMA2 or ADMA64 |
| 93 | |
| 94 | config SDHCI_ADMA_IN_VERSTAGE |
| 95 | bool |
| 96 | default n |
| 97 | help |
| 98 | Determine if verstage is able to use ADMA2 or ADMA64 |
| 99 | |
| 100 | config SDHCI_BOUNCE_BUFFER |
| 101 | bool "Use DMA bounce buffer for SD/MMC controller" |
| 102 | default n |
| 103 | |
| 104 | endif # SDHCI_CONTROLLER |
Lee Leahy | 48dbc66 | 2017-05-08 16:56:03 -0700 | [diff] [blame] | 105 | endif # COMMONLIB_STORAGE |