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>
This commit is contained in:
parent
47770c0769
commit
fa8cedae2a
|
@ -38,7 +38,7 @@ static inline void *backup_resume(void) {
|
||||||
if (!suspend)
|
if (!suspend)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (!cbmem_reinit())
|
if (cbmem_recovery(1))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
resume_backup_memory = cbmem_find(CBMEM_ID_RESUME);
|
resume_backup_memory = cbmem_find(CBMEM_ID_RESUME);
|
||||||
|
|
Loading…
Reference in New Issue