diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-01-12 14:38:33 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-01-22 20:55:55 +0100 |
commit | fa8cedae2ac12917d38ad07430de0ce60dcb8604 (patch) | |
tree | 9c67df35dc2d920104ada4676c970d83e20aba05 /src/cpu | |
parent | 47770c07692e28cd66d74da9d94c6c1ca3e76056 (diff) |
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>
Reviewed-on: http://review.coreboot.org/4673
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/amd/car/post_cache_as_ram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 81175dade3..f74f915ec5 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); |