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.
Signed-off-by: Subrata Banik <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
Reviewed-by: ron minnich <firstname.lastname@example.org>
diff --git a/src/Kconfig b/src/Kconfig
index b4898bd..2c9dc4a 100644
@@ -277,6 +277,21 @@
The path and filename of the file to use as graphical bootsplash
screen. The file format has to be jpg.
+ bool "Enable coreboot flow without executing ramstage"
+ default n
+ depends on ARCH_X86
+ 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).