summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-06-12 16:47:45 -0700
committerPatrick Georgi <pgeorgi@google.com>2020-06-14 16:55:44 +0000
commitb5d98667c67dee38281299758e83c47b0661cd92 (patch)
treee80397d42a042dbfb60e4280dcd1a87fad5684f6 /src/mainboard
parent2232e8906564153c142d27b986f0a23175b7b7d6 (diff)
downloadcoreboot-b5d98667c67dee38281299758e83c47b0661cd92.tar.xz
mb/google/zork: Enable ELOG options
This change enables following ELOG options for zork family: ELOG ELOG_BOOT_COUNT ELOG_GSMI ELOG_BOOT_COUNT_CMOS_OFFSET BUG=b:158875638 TEST=Verified that kernel reports GSMI loading correctly: [ 5.308982] gsmi version 1.0 loaded Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: I4f34a814e744e863f1fbfc19e37209cb7febbdcc Reviewed-on: https://review.coreboot.org/c/coreboot/+/42332 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/zork/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index 302ad8bdd2..bf3c306cae 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -22,6 +22,9 @@ config BOARD_SPECIFIC_OPTIONS
select EC_GOOGLE_CHROMEEC_ESPI
select EC_GOOGLE_CHROMEEC_I2C_TUNNEL
select EC_GOOGLE_CHROMEEC_SKUID
+ select ELOG
+ select ELOG_BOOT_COUNT
+ select ELOG_GSMI
select HAVE_ACPI_TABLES
select GFXUMA
select GOOGLE_SMBIOS_MAINBOARD_VERSION
@@ -39,6 +42,10 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_ACPI_RESUME
select DRIVERS_USB_ACPI
+config ELOG_BOOT_COUNT_CMOS_OFFSET
+ int
+ default 144
+
# FMDFILE is set here so that coreboot build picks up this flash map layout
# even when CHROMEOS is not selected when building upstream.
config FMDFILE