summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/security/vboot/Kconfig8
-rw-r--r--src/security/vboot/Makefile.inc1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/security/vboot/Kconfig b/src/security/vboot/Kconfig
index e366cc4c09..b6bf542ee6 100644
--- a/src/security/vboot/Kconfig
+++ b/src/security/vboot/Kconfig
@@ -260,6 +260,14 @@ config VBOOT_EARLY_EC_SYNC
significantly impact boot time, as this operation will be performed
later in the boot flow if it is disabled here.
+config VBOOT_EC_EFS
+ bool "Early firmware selection (EFS) EC"
+ default n
+ help
+ CrosEC can support EFS: Early Firmware Selection. If it's enabled,
+ software sync needs to also support it. This setting tells vboot to
+ perform EFS software sync.
+
menu "GBB configuration"
config GBB_HWID
diff --git a/src/security/vboot/Makefile.inc b/src/security/vboot/Makefile.inc
index 138273fe4b..d0d3370c6d 100644
--- a/src/security/vboot/Makefile.inc
+++ b/src/security/vboot/Makefile.inc
@@ -41,6 +41,7 @@ $$(VBOOT_LIB_$(1)): $(obj)/config.h
+FIRMWARE_ARCH=$$(ARCHDIR-$$(ARCH-$(1)-y)) \
CC="$$(CC_$(1))" \
CFLAGS="$$(VBOOT_CFLAGS_$(1))" VBOOT2="y" \
+ EC_EFS="$(CONFIG_VBOOT_EC_EFS)" \
$(MAKE) -C $(VBOOT_SOURCE) \
BUILD=$$(abspath $$(dir $$(VBOOT_LIB_$(1)))) \
V=$(V) \