summaryrefslogtreecommitdiff
path: root/src/drivers/smmstore/Kconfig
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2018-03-14 21:11:21 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-10-08 09:46:30 +0000
commit9360feaf5121fb0b4b2d63e3168effe066650071 (patch)
treedae8bcba4a33a3920e1b57e5f2d9033fa763b32d /src/drivers/smmstore/Kconfig
parent88607a4b1002ed6acc7f316f274feea2fd861095 (diff)
smmstore: Add a key/val store facility in flash, mediated through SMM
It exposes an interface that is as generic as possible, so payloads and/or kernels can use it for their data. Change-Id: I9553922f9dfa60b9d4b3576973ad4b84d3fe2fb5 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/25182 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/smmstore/Kconfig')
-rw-r--r--src/drivers/smmstore/Kconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/drivers/smmstore/Kconfig b/src/drivers/smmstore/Kconfig
new file mode 100644
index 0000000000..4bb48f7e08
--- /dev/null
+++ b/src/drivers/smmstore/Kconfig
@@ -0,0 +1,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