summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-17 01:00:10 +0300
committerPatrick Georgi <pgeorgi@google.com>2021-01-04 23:16:03 +0000
commitb8cf0394fb400a0f36c2b2de9274ac87299dc115 (patch)
tree3799cdec5cdcd59e74daa69231f46ddc77f0b3fe /src/arch
parent8c2cc68b1ac9e1fb2011bcb669df04b4c8cad351 (diff)
ACPI: Final APM_CNT_GNVS_UPDATE cleanup
All platforms moved to initialise GNVS at the time of SMM module loading. Change-Id: I31b5652a946b0d9bd1909ff8bde53b43e06e2cd9 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48699 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/acpi_s3.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c
index 43a68f95f4..ec1fafcd3c 100644
--- a/src/arch/x86/acpi_s3.c
+++ b/src/arch/x86/acpi_s3.c
@@ -5,7 +5,6 @@
#include <acpi/acpi.h>
#include <arch/cpu.h>
#include <commonlib/helpers.h>
-#include <cpu/x86/smm.h>
#include <fallback.h>
#include <timestamp.h>
@@ -18,9 +17,6 @@ extern unsigned int __wakeup_size;
void __noreturn acpi_resume(void *wake_vec)
{
- /* Restore GNVS pointer in SMM if found. */
- apm_control(APM_CNT_GNVS_UPDATE);
-
/* Call mainboard resume handler first, if defined. */
mainboard_suspend_resume();