John E. Kabat Jr. has uploaded this change for review.
mainboard/google/kahlee: Enable elog in Kconfig
- Change kahlee/Kconfig to enable elog and save the boot count in cmos.
BUG=b:65485690
TEST=Build & boot kahlee.
Change-Id: I5fe396c8f532b319481bc073f7541bcd743b92b9
Signed-off-by: John E. Kabat Jr <john.kabat@scarletltd.com>
---
M src/mainboard/google/kahlee/Kconfig
1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/22638/1
diff --git a/src/mainboard/google/kahlee/Kconfig b/src/mainboard/google/kahlee/Kconfig
index 6c9bfcc..7966930 100644
--- a/src/mainboard/google/kahlee/Kconfig
+++ b/src/mainboard/google/kahlee/Kconfig
@@ -29,6 +29,8 @@
select MAINBOARD_HAS_LPC_TPM
select SERIRQ_CONTINUOUS_MODE
select STONEYRIDGE_UART
+ select ELOG_GSMI
+ select ELOG_BOOT_COUNT
if BOARD_GOOGLE_BASEBOARD_KAHLEE
@@ -97,4 +99,12 @@
int
default 1
+config ELOG_BOOT_COUNT_CMOS_OFFSET
+ depends on ELOG && ELOG_BOOT_COUNT && !USE_OPTION_TABLE
+ int "Offset in CMOS to store the boot count"
+ default 144
+ help
+ This value must be greater than 16 bytes so as not to interfere
+ with the standard RTC region. Requires 8 bytes.
+
endif # BOARD_GOOGLE_KAHLEE || BOARD_GOOGLE_GRUNT
To view, visit change 22638. To unsubscribe, visit settings.