From c7590cd9f3ca6242dd05e2a35b16c256a8759087 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 4 Sep 2017 18:44:38 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/21388 Tested-by: build bot (Jenkins) Reviewed-by: Sumeet R Pawnikar Reviewed-by: Aaron Durbin --- src/arch/x86/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/arch/x86/Kconfig') diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig index 726fa31f71..c1390de145 100644 --- a/src/arch/x86/Kconfig +++ b/src/arch/x86/Kconfig @@ -135,6 +135,15 @@ config PRERAM_CBMEM_CONSOLE_SIZE help Increase this value if preram cbmem console is getting truncated +config EARLY_EBDA_INIT + bool + default n + help + Initialize BIOS EBDA area early in romstage to allow bootloader to + use this region for storing data which can be available across + various stages. If user is selecting this option then its users + responsibility to perform EBDA initialization call during romstage. + config PC80_SYSTEM bool default y if ARCH_X86 -- cgit v1.2.3