<p>Subrata Banik has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21388">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">arch/x86: Enable ebda library for romstage and postcar<br><br>This patch provides a kconfig option as EARLY_EBDA_INIT to<br>ensures user can make use of EBDA library even during early<br>boot stages like romstage, postcar.<br><br>Change-Id: I603800a531f56b6ebd460d5951c35a645fbfe492<br>Signed-off-by: Subrata Banik <subrata.banik@intel.com><br>---<br>M src/arch/x86/Kconfig<br>M src/arch/x86/Makefile.inc<br>2 files changed, 10 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/21388/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig<br>index dbfb881..0da44bd 100644<br>--- a/src/arch/x86/Kconfig<br>+++ b/src/arch/x86/Kconfig<br>@@ -131,6 +131,14 @@<br>   help<br>    Increase this value if preram cbmem console is getting truncated<br> <br>+config EARLY_EBDA_INIT<br>+       bool "Initialize EBDA area early in romstage"<br>+      default n<br>+    help<br>+   Initialize BIOS EBDA area early in romstage to allow bootloader to<br>+   use this region for storing data which can be available across<br>+       various stages.<br>+<br> config PC80_SYSTEM<br>     bool<br>  default y if ARCH_X86<br>diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc<br>index 5f184c5..4f84b28 100644<br>--- a/src/arch/x86/Makefile.inc<br>+++ b/src/arch/x86/Makefile.inc<br>@@ -209,6 +209,7 @@<br> romstage-y += cbmem.c<br> romstage-y += cbfs_and_run.c<br> romstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += cpu_common.c<br>+romstage-$(CONFIG_EARLY_EBDA_INIT) += ebda.c<br> romstage-y += memcpy.c<br> romstage-y += memmove.c<br> romstage-y += memset.c<br>@@ -281,6 +282,7 @@<br> postcar-y += boot.c<br> postcar-y += cbfs_and_run.c<br> postcar-y += cpu_common.c<br>+postcar-$(CONFIG_EARLY_EBDA_INIT) += ebda.c<br> postcar-y += exit_car.S<br> postcar-y += memcpy.c<br> postcar-y += memmove.c<br></pre><p>To view, visit <a href="https://review.coreboot.org/21388">change 21388</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/21388"/><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: I603800a531f56b6ebd460d5951c35a645fbfe492 </div>
<div style="display:none"> Gerrit-Change-Number: 21388 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Subrata Banik <subrata.banik@intel.com> </div>