summaryrefslogtreecommitdiff
path: root/src/lib
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/lib
parent31187bb0e0539cd3f93b0b9c045d09007030e57d (diff)
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/lib')
-rw-r--r--src/lib/master_header_pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/master_header_pointer.c b/src/lib/master_header_pointer.c
index b1146121c5..b2c3fe64ef 100644
--- a/src/lib/master_header_pointer.c
+++ b/src/lib/master_header_pointer.c
@@ -5,7 +5,7 @@
#include <fmap_config.h>
#include <stdint.h>
-#if ENV_X86
+#if CONFIG(BOOTBLOCK_IN_CBFS)
__attribute__((used, __section__(".header_pointer")))
#endif