From aa51cd5c12596b0b6d5f61eb1108091bf3a4fd3f Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Mon, 18 Sep 2017 19:58:47 -0600 Subject: google/kahlee: Prevent AGESA memory clear The Linux Pstore area must not be cleared on a reboot. Set the option to not clear the memory in AGESA. BUG=b:64193190 BRANCH=none TEST=Memory clear isn't called in AGESA. Change-Id: I9b8286ade718fa80bf3badd478ab9a7df643ab98 Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/21596 Reviewed-by: Aaron Durbin Reviewed-by: Marshall Dawson Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/OemCustomize.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/google/kahlee/OemCustomize.c') diff --git a/src/mainboard/google/kahlee/OemCustomize.c b/src/mainboard/google/kahlee/OemCustomize.c index 2043193f2e..2b3f551517 100644 --- a/src/mainboard/google/kahlee/OemCustomize.c +++ b/src/mainboard/google/kahlee/OemCustomize.c @@ -36,4 +36,6 @@ void OemPostParams(AMD_POST_PARAMS *PostParams) { PostParams->MemConfig.PlatformMemoryConfiguration = (PSO_ENTRY *)DDR4PlatformMemoryConfiguration; + /* disable memory clear for pstore memory storage and boot time */ + PostParams->MemConfig.EnableMemClr = FALSE; } -- cgit v1.2.3