Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4672
-gerrit
commit f8eee39292078febb98863c60078cf2b0617d338 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Sun Jan 12 14:38:24 2014 +0200
AMD AGESA: Fix CBMEM on S3 resume
Change to use cbmem_recovery() to wipe CBMEM region and reset ACPI wakeup if CBMEM TOC was not found.
Change-Id: I6648570d76b5c137f50addcc5bce9c126d179c65 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- src/cpu/amd/agesa/s3_resume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cpu/amd/agesa/s3_resume.c b/src/cpu/amd/agesa/s3_resume.c index ef19b53..558fc75 100644 --- a/src/cpu/amd/agesa/s3_resume.c +++ b/src/cpu/amd/agesa/s3_resume.c @@ -111,7 +111,7 @@ inline void *backup_resume(void) { void *resume_backup_memory;
- if (!cbmem_reinit()) + if (cbmem_recovery(1)) return NULL;
resume_backup_memory = cbmem_find(CBMEM_ID_RESUME);