summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-12 21:37:53 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-14 10:56:46 +0000
commit505e3f7e852a5f3d9a37b702c9095443e6ad7d44 (patch)
treeca5fb8c9e5b9d40da39bf6ae0310bc23338db156 /src/arch
parentcf49dec4deb5c368ad52a68b4ecb25129694751f (diff)
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>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/acpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index 42e45fb32f..6cd4e9fae8 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -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);