summaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-04-05 20:42:07 +0200
committerArthur Heymans <arthur@aheymans.xyz>2022-05-12 11:12:21 +0000
commite8217b11f13e182dc4b6e74bede4834d22cc5277 (patch)
treebc1c13dd1a05355d1318bb206cc73f5b7d45a83b /src/Kconfig
parent31187bb0e0539cd3f93b0b9c045d09007030e57d (diff)
downloadcoreboot-e8217b11f13e182dc4b6e74bede4834d22cc5277.tar.gz
coreboot-e8217b11f13e182dc4b6e74bede4834d22cc5277.tar.bz2
coreboot-e8217b11f13e182dc4b6e74bede4834d22cc5277.zip
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>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index dc819793cfd3..bf48360f5ef9 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -1327,6 +1327,12 @@ config BOOTBLOCK_CUSTOM
# 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"