Kconfig: Add an option to skip adding a cbfs bootblock on x86
Some targets don't need this as the bootblock is loaded differently.
Change-Id: Ia42448f7e9dd0635c72857fbc1fab54508932721
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63377
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
diff --git a/src/Kconfig b/src/Kconfig
index dc81979..bf48360 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1327,6 +1327,12 @@
# src/lib/bootblock.c#main() C entry point.
bool
+config BOOTBLOCK_IN_CBFS
+ bool
+ default y if ARCH_X86
+ help
+ Select this on platforms that have a top aligned bootblock inside cbfs.
+
config MEMLAYOUT_LD_FILE
string
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/memlayout.ld"