aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi_s3.c
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-09-21 19:17:33 +0530
committerAaron Durbin <adurbin@chromium.org>2017-09-22 15:29:25 +0000
commit5d2928cdab0afe7624d4d49a180f90c6ceeb0674 (patch)
tree13e0b2c67568529dbf07472f59f8178123a55436 /src/arch/x86/acpi_s3.c
parentfd440bb79eedf36fdd27d26801146a2ecb5218a3 (diff)
arch/x86: Include acpi_s3.c support in postcar stage
This patch ensures acpi APIs are available for postcar stage. Change-Id: Ia0f83cd4886ba7a16286dbbeb3257ede014ee3c7 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/21626 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/x86/acpi_s3.c')
-rw-r--r--src/arch/x86/acpi_s3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c
index 0a17eadc53..90f2c4ee7b 100644
--- a/src/arch/x86/acpi_s3.c
+++ b/src/arch/x86/acpi_s3.c
@@ -25,7 +25,7 @@
#include <rules.h>
#include <symbols.h>
-#if ENV_RAMSTAGE
+#if ENV_RAMSTAGE || ENV_POSTCAR
/* This is filled with acpi_is_wakeup() call early in ramstage. */
static int acpi_slp_type = -1;