1 ## SPDX-License-Identifier: GPL-2.0-only
4 bool "Support for flash based, SMM mediated data store"
5 depends on BOOT_DEVICE_SUPPORTS_WRITES && HAVE_SMI_HANDLER
6 default y if PAYLOAD_EDK2
7 select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP
10 bool "Use version 2 of SMMSTORE API"
12 default y if PAYLOAD_EDK2
15 Version 2 of SMMSTORE allows secure communication with SMM and
16 makes no assumptions on the structure of the data stored within.
17 It splits the store into chunks to allows fault tolerant writes.
19 By using version 2 you cannot make use of software that expects
25 hex "size of the SMMSTORE FMAP region"
28 Sets the size of the default SMMSTORE FMAP region.
29 If using an UEFI payload, note that UEFI specifies at least 64K.
30 The current implementation of SMMSTORE is append only, so until
31 garbage collection is implemented it is better to set this to