aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-09-04 18:44:38 +0530
committerAaron Durbin <adurbin@chromium.org>2017-09-22 15:29:30 +0000
commitc7590cd9f3ca6242dd05e2a35b16c256a8759087 (patch)
tree5700243196e5938b62cbb82d32dca0ed4ba4cd75 /src/arch/x86/include
parent5d2928cdab0afe7624d4d49a180f90c6ceeb0674 (diff)
arch/x86: Enable ebda library for romstage and postcar
This patch provides a kconfig option as EARLY_EBDA_INIT to ensures user can make use of EBDA library even during early boot stages like romstage, postcar. Change-Id: I603800a531f56b6ebd460d5951c35a645fbfe492 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/21388 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/ebda.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/ebda.h b/src/arch/x86/include/arch/ebda.h
index cd25ccaba1..428bc92c27 100644
--- a/src/arch/x86/include/arch/ebda.h
+++ b/src/arch/x86/include/arch/ebda.h
@@ -17,6 +17,9 @@
#ifndef __ARCH_EBDA_H
#define __ARCH_EBDA_H
+#include <stdint.h>
+#include <stddef.h>
+
#define X86_BDA_SIZE 0x200
#define X86_BDA_BASE ((void *)0x400)
#define X86_EBDA_SEGMENT ((void *)0x40e)