summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-06-28 07:50:48 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-22 06:34:02 +0000
commit546a2e84685eb642e59ef40846dcb6f167b5725c (patch)
tree9a21fa37ff27be119b035879be6ff7a1f5f8b93a /src/arch
parenta963acdcc70747911981afcd1474d39d75ca8804 (diff)
downloadcoreboot-546a2e84685eb642e59ef40846dcb6f167b5725c.tar.gz
coreboot-546a2e84685eb642e59ef40846dcb6f167b5725c.tar.bz2
coreboot-546a2e84685eb642e59ef40846dcb6f167b5725c.zip
ACPI S3: Drop ACPI_HUGE_LOWMEM_BACKUP
ACPI S3 resume path can only modify low memory where the non-relocatable ramstage resides, there is no need to maintain a bigger backup copy. Change-Id: Ifae41b51b359010ec02269c674936a87bd15623b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/15476 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/acpi_s3.c5
-rw-r--r--src/arch/x86/include/arch/acpi.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c
index 47f28d284c0c..decaf2b5ff73 100644
--- a/src/arch/x86/acpi_s3.c
+++ b/src/arch/x86/acpi_s3.c
@@ -84,11 +84,6 @@ static int backup_create_or_update(struct resume_backup *backup_mem,
{
uintptr_t top;
- if (CONFIG(ACPI_HUGE_LOWMEM_BACKUP)) {
- base = CONFIG_RAMBASE;
- size = HIGH_MEMORY_SAVE;
- }
-
/* Align backup region to complete pages. */
top = ALIGN_UP(base + size, BACKUP_PAGE_SZ);
base = ALIGN_DOWN(base, BACKUP_PAGE_SZ);
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index 660f0dc2e634..670948a1d167 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -26,8 +26,6 @@
#ifndef __ASM_ACPI_H
#define __ASM_ACPI_H
-#define HIGH_MEMORY_SAVE (CONFIG_RAMTOP - CONFIG_RAMBASE)
-
/*
* The type and enable fields are common in ACPI, but the
* values themselves are hardware implementation defined.