<p>Subrata Banik has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21626">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">arch/x86: Include acpi_s3.c support in postcar stage<br><br>This patch ensures acpi APIs are available for postcar<br>stage.<br><br>Change-Id: Ia0f83cd4886ba7a16286dbbeb3257ede014ee3c7<br>Signed-off-by: Subrata Banik <subrata.banik@intel.com><br>---<br>M src/arch/x86/Makefile.inc<br>M src/arch/x86/acpi_s3.c<br>2 files changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/26/21626/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc<br>index 04e679f..813e01b 100644<br>--- a/src/arch/x86/Makefile.inc<br>+++ b/src/arch/x86/Makefile.inc<br>@@ -278,6 +278,7 @@<br> $(eval $(call create_class_compiler,postcar,x86_32))<br> postcar-generic-ccopts += -D__POSTCAR__<br> <br>+postcar-$(CONFIG_HAVE_ACPI_RESUME) += acpi_s3.c<br> postcar-y += boot.c<br> postcar-y += cbfs_and_run.c<br> postcar-y += cbmem.c<br>diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c<br>index 0a17ead..90f2c4e 100644<br>--- a/src/arch/x86/acpi_s3.c<br>+++ b/src/arch/x86/acpi_s3.c<br>@@ -25,7 +25,7 @@<br> #include <rules.h><br> #include <symbols.h><br> <br>-#if ENV_RAMSTAGE<br>+#if ENV_RAMSTAGE || ENV_POSTCAR<br> <br> /* This is filled with acpi_is_wakeup() call early in ramstage. */<br> static int acpi_slp_type = -1;<br></pre><p>To view, visit <a href="https://review.coreboot.org/21626">change 21626</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/21626"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia0f83cd4886ba7a16286dbbeb3257ede014ee3c7 </div>
<div style="display:none"> Gerrit-Change-Number: 21626 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Subrata Banik <subrata.banik@intel.com> </div>