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/4673
-gerrit
commit 17c0cd1583f64b84f401baea4e2290e0dc7e5774 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Sun Jan 12 14:38:33 2014 +0200
AMD K8/fam10: 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: Ic362253eaa00bd442d4cc0514632f9096e20bfa6 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- src/cpu/amd/car/post_cache_as_ram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 81175da..f74f915 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -38,7 +38,7 @@ static inline void *backup_resume(void) { if (!suspend) return NULL;
- if (!cbmem_reinit()) + if (cbmem_recovery(1)) return NULL;
resume_backup_memory = cbmem_find(CBMEM_ID_RESUME);