1 ## SPDX-License-Identifier: GPL-2.0-only
4 bool "Support for flash based event log"
6 depends on BOOT_DEVICE_SUPPORTS_WRITES
8 Enable support for flash based event logging.
13 bool "Enable debug output for event logging"
17 bool "Store a copy of ELOG in CBMEM"
20 This option will have ELOG store a copy of the flash event log
21 in a CBMEM region and export that address in SMBIOS to the OS.
22 This is useful if the ELOG location is not in memory mapped flash,
23 but it means that events added at runtime via the SMI handler
24 will not be reflected in the CBMEM copy of the log.
27 depends on HAVE_SMI_HANDLER
28 bool "SMI interface to write and clear event log"
29 select SPI_FLASH_SMM if BOOT_DEVICE_SPI_FLASH_RW_NOMMAP
32 This interface is compatible with the linux kernel driver
33 available with CONFIG_GOOGLE_GSMI and can be used to write
34 kernel reset/shutdown messages to the event log.
36 config ELOG_BOOT_COUNT
37 bool "Maintain a monotonic boot number in CMOS"
40 Store a monotonic boot number in CMOS and provide an interface
41 to read the current value and increment the counter. This boot
42 counter will be logged as part of the System Boot event.
44 config ELOG_BOOT_COUNT_CMOS_OFFSET
45 depends on ELOG_BOOT_COUNT && !USE_OPTION_TABLE
46 int "Offset in CMOS to store the boot count"
49 This value must be greater than 16 bytes so as not to interfere
50 with the standard RTC region. Requires 8 bytes.