coreboot-kgpe-d16/src/vendorcode
You-Cheng Syu 85bb874c9c google/chromeos: Support AP watchdog flag from Chrome EC
After ChromiumOS CL:1293132 and CL:1295890, Chrome EC can store the flag
telling if the last reboot was triggered by AP watchdog for some boards
(e.g., Kukui).

This CL adds a new function google_chromeec_get_ap_watchdog_flag(),
which reads the AP watchdog flag from Chrome EC, and updates the tables
of reset causes and reset flags.

A new Kconfig option CHROMEOS_USE_EC_WATCHDOG_FLAG is added for
elog_handle_watchdog_tombstone() to determine if watchdog reset was
triggered by the AP watchdog flag from EC instead of the tombstone in
AP.

BUG=b:109900671,b:118654976
BRANCH=none
TEST=test with https://review.coreboot.org/c/coreboot/+/31843

Change-Id: I7a970666a8c6da32ac1c6af8280e808fe7fc106d
Signed-off-by: You-Cheng Syu <youcheng@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31834
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2019-08-23 20:23:19 +00:00
..
amd AGESA: Restrict use of -fno-zero-initialized-in-bss 2019-08-22 17:21:19 +00:00
cavium src: Include <stdint.h> instead of <inttypes.h> 2019-08-10 01:33:58 +00:00
eltan vendorcode/eltan/security/lib: Add missing vb2ex_printf() 2019-08-11 03:03:33 +00:00
google google/chromeos: Support AP watchdog flag from Chrome EC 2019-08-23 20:23:19 +00:00
intel intel/fsp1_0,baytrail,rangeley: Tidy up use of preprocessor 2019-08-21 07:01:23 +00:00
siemens src/{ec,vendorcode}: Add missing 'include <types.h> 2019-05-29 20:28:07 +00:00
Makefile.inc vendorcode/eltan: Add vendor code for measured and verified boot 2019-06-04 10:41:53 +00:00