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 #include #include +#include #include #include -#include #include -#include -#include #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 * ***********************/