From 7e893a02c0cc04b8fdcfee0b4dc0ff790bfe40c5 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 6 May 2019 14:17:41 +0530 Subject: Kconfig: Create RAMPAYLOAD kconfig This patch enables coreboot flow to skip ramstage as individual stage to load payload. Instead it is expected to load payload from postcar stage. Change-Id: I839f2d34a93b69ca6bf3de6594e2ad9f66ee7135 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/32618 Tested-by: build bot (Jenkins) Reviewed-by: ron minnich --- src/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Kconfig b/src/Kconfig index b4898bd456..2c9dc4ab7f 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -277,6 +277,21 @@ config BOOTSPLASH_FILE The path and filename of the file to use as graphical bootsplash screen. The file format has to be jpg. +config RAMPAYLOAD + bool "Enable coreboot flow without executing ramstage" + default n + depends on ARCH_X86 + help + If this option is enabled, coreboot flow will skip ramstage + loading and execution of ramstage to load payload. + + Instead it is expected to load payload from postcar stage itself. + + In this flow coreboot will perform basic x86 initialization + (DRAM resource allocation), MTRR programming, + Skip PCI enumeration logic and only allocate BAR for fixed devices + (bootable devices, TPM over GSPI). + endmenu menu "Mainboard" -- cgit v1.2.3