summaryrefslogtreecommitdiff
path: root/src/drivers/smmstore/Kconfig
blob: d7063dfad55fd70092781c0e27c5e0c5c07d113d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
##
## This file is part of the coreboot project.
##
## Copyright (C) 2018 The Chromium OS Authors.  All rights reserved.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##

config SMMSTORE
	bool "Support for flash based, SMM mediated data store"
	default n
	depends on BOOT_DEVICE_SUPPORTS_WRITES
	select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP

if SMMSTORE
config SMMSTORE_REGION
	string "fmap region in which SMM store file is kept"
	default "RW_LEGACY" if CHROMEOS
	default "COREBOOT"

config SMMSTORE_FILENAME
	string "SMM store file name"
	default "smm_store"

endif