diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-06-27 19:45:19 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-08-21 09:29:46 +0000 |
commit | cb3e16f287938b2d2c2a7b4702045f5704f50365 (patch) | |
tree | d9883d5e58c237223a06e8bf90529e921f5b6a42 /src/arch/x86/acpi_s3.c | |
parent | 5e59a82c27822df745990c46934e09b9cb2eec52 (diff) |
AMD fam10: Remove HAVE_ACPI_RESUME support
Change-Id: I62bbba8cfe515b3cae413582ff8d062a20e6741b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/15474
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/arch/x86/acpi_s3.c')
-rw-r--r-- | src/arch/x86/acpi_s3.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c index 98c53d1585..47f28d284c 100644 --- a/src/arch/x86/acpi_s3.c +++ b/src/arch/x86/acpi_s3.c @@ -116,23 +116,6 @@ static int backup_create_or_update(struct resume_backup *backup_mem, return 0; } -void *acpi_backup_container(uintptr_t base, size_t size) -{ - struct resume_backup *backup_mem = cbmem_find(CBMEM_ID_RESUME); - if (!backup_mem) - return NULL; - - if (!IS_ALIGNED(base, BACKUP_PAGE_SZ) || !IS_ALIGNED(size, - BACKUP_PAGE_SZ)) - return NULL; - - if (backup_create_or_update(backup_mem, base, size) < 0) - return NULL; - - backup_mem->valid = 1; - return (void *)(uintptr_t)backup_mem->cbmem; -} - void backup_ramstage_section(uintptr_t base, size_t size) { struct resume_backup *backup_mem = cbmem_find(CBMEM_ID_RESUME); |