diff options
author | Marc Jones <marcj303@gmail.com> | 2017-09-18 19:58:47 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-20 19:26:07 +0000 |
commit | aa51cd5c12596b0b6d5f61eb1108091bf3a4fd3f (patch) | |
tree | 6f0709d127b68bc06a3614e7915146729bbd1c2c /src | |
parent | 7d5452c42d01b62333ede92b0b6143c23af1c76d (diff) | |
download | coreboot-aa51cd5c12596b0b6d5f61eb1108091bf3a4fd3f.tar.xz |
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 <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/21596
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/kahlee/OemCustomize.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |