arch/x86: Replace some __PRE_RAM__ use

Change-Id: I4d8db430f8cd0bf0f161fc5cef052f153e59e2bc
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35390
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki
2019-09-12 21:37:53 +03:00
parent cf49dec4de
commit 505e3f7e85
4 changed files with 2 additions and 8 deletions

View File

@@ -974,7 +974,7 @@ static inline int acpi_s3_resume_allowed(void)
#if CONFIG(HAVE_ACPI_RESUME)
#ifdef __PRE_RAM__
#if ENV_ROMSTAGE_OR_BEFORE
static inline int acpi_is_wakeup_s3(void)
{
return (acpi_get_sleep_type() == ACPI_S3);