summaryrefslogtreecommitdiff
path: root/src/security/vboot/Kconfig
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2019-10-25 14:58:15 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-11-20 13:29:49 +0000
commitd6fc557b9344cf466122ebe7bd7382e9d247c77c (patch)
treede2a5bc6b63670ab706f8215b2961d12759284f6 /src/security/vboot/Kconfig
parentfe338e2319f40a22f1c64aef3df95e015ab8b90b (diff)
security/vboot: Add vboot callbacks to support EC software sync
Use the new functions introduced into the EC driver to support performing EC software sync via vboot callbacks. NOTE: This patch assumes that the EC image is added to CBFS uncompressed. Streaming decompression of the image will be added in a future patch. Also adds a new Kconfig option VBOOT_EARLY_EC_SYNC. The new Kconfig option compiles EC software sync into romstage, dependent upon having a CrOS EC. BUG=b:112198832 BRANCH=none TEST=Successful EC software sync Change-Id: I9b1458a45ab3ed5623af50f78036c4f88461b226 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36208 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/vboot/Kconfig')
-rw-r--r--src/security/vboot/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/security/vboot/Kconfig b/src/security/vboot/Kconfig
index 89e12323b6..df1b7e478a 100644
--- a/src/security/vboot/Kconfig
+++ b/src/security/vboot/Kconfig
@@ -242,6 +242,18 @@ config VBOOT_ENABLE_CBFS_FALLBACK
When this option is enabled cbfs_boot_locate will look for a file in the RO
(COREBOOT) region if it isn't available in the active RW region.
+config VBOOT_EARLY_EC_SYNC
+ bool
+ default n
+ depends on EC_GOOGLE_CHROMEEC
+ help
+ Enables CrOS EC software sync in romstage, before memory training
+ runs. This is useful mainly as a way to achieve full USB-PD
+ negotiation earlier in the boot flow, as the EC will only do this once
+ it has made the sysjump to its RW firmware. It should not
+ significantly impact boot time, as this operation will be performed
+ later in the boot flow if it is disabled here.
+
menu "GBB configuration"
config GBB_HWID