blob: c7bb70d399837daf3015b8542f2438a721533383 [file] [log] [blame]
Lee Leahyeef40eb2017-03-23 10:54:57 -07001##
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 Leahy48dbc662017-05-08 16:56:03 -070016config COMMONLIB_STORAGE
Lee Leahyeef40eb2017-03-23 10:54:57 -070017 bool
18 default n
19
Lee Leahy48dbc662017-05-08 16:56:03 -070020if COMMONLIB_STORAGE
Lee Leahyeef40eb2017-03-23 10:54:57 -070021
Lee Leahy48dbc662017-05-08 16:56:03 -070022config COMMONLIB_STORAGE_MMC
Lee Leahyeef40eb2017-03-23 10:54:57 -070023 bool "Enable MultiMediaCard (MMC) and eMMC device support"
24 default n
25
Lee Leahy48dbc662017-05-08 16:56:03 -070026config COMMONLIB_STORAGE_SD
Lee Leahyeef40eb2017-03-23 10:54:57 -070027 bool "Enable Secure Digital (SD) memory card support"
28 default n
29
30config STORAGE_ERASE
31 bool "Support SD/MMC erase operations"
32 default n
33 help
34 Select to enable SD/MMC erase oprations
35
36config STORAGE_EARLY_ERASE
37 bool "Enable erase operations in bootblock and verstage"
38 default n
39 depends on STORAGE_ERASE
40
41config STORAGE_WRITE
42 bool "Support SD/MMC write operations"
43 default n
44 help
45 Select to enable SD/MMC write oprations
46
47config STORAGE_EARLY_WRITE
48 bool "Enable write operations in bootblock and verstage"
49 default n
50 depends on STORAGE_WRITE
51
52config 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
58config 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
64config SDHC_DEBUG
65 bool "Debug SD/MMC controller settings"
66 default n
67 help
68 Display clock speed and bus width settings
69
70config 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
76config SDHCI_CONTROLLER
77 bool "Support SD host controller"
78 default n
79
80if SDHCI_CONTROLLER
81
82config SDHCI_ADMA_IN_BOOTBLOCK
83 bool
84 default n
85 help
86 Determine if bootblock is able to use ADMA2 or ADMA64
87
88config SDHCI_ADMA_IN_ROMSTAGE
89 bool
90 default n
91 help
92 Determine if romstage is able to use ADMA2 or ADMA64
93
94config SDHCI_ADMA_IN_VERSTAGE
95 bool
96 default n
97 help
98 Determine if verstage is able to use ADMA2 or ADMA64
99
100config SDHCI_BOUNCE_BUFFER
101 bool "Use DMA bounce buffer for SD/MMC controller"
102 default n
103
104endif # SDHCI_CONTROLLER
Lee Leahy48dbc662017-05-08 16:56:03 -0700105endif # COMMONLIB_STORAGE