soc/intel/tigerlake: Add CrashLog implementation for intel TGL

CrashLog is a diagnostic feature for Intel TGL based platforms.
It is meant to capture the state of the platform before a crash.
The state of relevant registers is preserved across a warm reset.

BUG=None
TEST=CrashLog data generated, extracted, processed, decoded sucessfully on delbin.

Signed-off-by: Francois Toguo <francois.toguo.fotso@intel.com>
Change-Id: Ie3763cebcd1178709cc8597710bf062a30901809
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49943
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Francois Toguo
2021-01-26 10:27:49 -08:00
committed by Patrick Georgi
parent 619c60f94c
commit 15cbc3b599
14 changed files with 1194 additions and 4 deletions

View File

@ -72,9 +72,11 @@ typedef struct {
**/
UINT8 EnableAbove4GBMmio;
/** Offset 0x004B - Reserved
/** Offset 0x004B - Enable/Disable CrashLog Device 10
Enable(Default): Enable CPU CrashLog Device 10, Disable: Disable CPU CrashLog
$EN_DIS
**/
UINT8 Reserved0;
UINT8 CpuCrashLogDevice;
/** Offset 0x004C - MemorySpdPtr00
**/