aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/acpi_s3.c4
-rw-r--r--src/include/program_loading.h4
2 files changed, 1 insertions, 7 deletions
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c
index 5ef0f7a6c8..d4c697ebbf 100644
--- a/src/arch/x86/acpi_s3.c
+++ b/src/arch/x86/acpi_s3.c
@@ -6,12 +6,10 @@
#include <arch/cpu.h>
#include <cbmem.h>
#include <commonlib/helpers.h>
+#include <cpu/x86/smm.h>
#include <fallback.h>
#include <timestamp.h>
-#include <program_loading.h>
#include <romstage_handoff.h>
-#include <symbols.h>
-#include <cpu/x86/smm.h>
#if ENV_RAMSTAGE || ENV_POSTCAR
diff --git a/src/include/program_loading.h b/src/include/program_loading.h
index 72e8cf6445..fae70ce46b 100644
--- a/src/include/program_loading.h
+++ b/src/include/program_loading.h
@@ -174,10 +174,6 @@ int legacy_romstage_selector(struct prog *romstage);
/* Run ramstage from romstage. */
void run_ramstage(void);
-/* Backup OS memory to CBMEM_ID_RESUME on ACPI S3 resume path,
- * if ramstage overwrites low memory. */
-void backup_ramstage_section(uintptr_t base, size_t size);
-
/***********************
* PAYLOAD LOADING *
***********************/