summaryrefslogtreecommitdiff
path: root/zephyr/projects/trogdor/lazor/prj.conf
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2021-04-12 16:03:47 -0700
committerCommit Bot <commit-bot@chromium.org>2021-04-13 01:03:01 +0000
commit35086a96c619e4ed9ba80f245bc41734c418acd9 (patch)
treea6b201b37dff544cfb2be49588409a7b9ab7730e /zephyr/projects/trogdor/lazor/prj.conf
parent3ae46cf15d5d5ec582d00ac4d3b01d23728fab4f (diff)
downloadchrome-ec-35086a96c619e4ed9ba80f245bc41734c418acd9.tar.gz
zephyr: lazor: enable verified-boot hashing function
Verified-boot (EC software sync) asks the hash of the EC RW to check if it is a correct version. Enable the hashing function. BRANCH=None BUG=b:184981521 TEST=Modified GBB flags in the AP firmware to allow EC software sync. Checked the hash was different and performed update: check_ec_hash: Hexp RW(active): ece8070d7fba2eff80eb8c936ba3dca9b... check_ec_hash: Hmir: ece8070d7fba2eff80eb8c936ba3dca90... check_ec_hash: Heff RW(active): 5270d6de9dbca79be7cb27ef9e5fd0535... check_ec_hash: Heff != Hexp. Schedule update After updated, the hash was correct: check_ec_hash: Hexp RW(active): ece8070d7fba2eff80eb8c936ba3dca9b... check_ec_hash: Hmir: ece8070d7fba2eff80eb8c936ba3dca9b... vboot_hash_image: No valid hash (status=0 size=0). Compute one... check_ec_hash: Heff RW(active): ece8070d7fba2eff80eb8c936ba3dca9b... update_ec: Updated RW(active) successfully Change-Id: I8071579e69a38f8950aa0e70bb4bee4419d11be9 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2821853 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/projects/trogdor/lazor/prj.conf')
-rw-r--r--zephyr/projects/trogdor/lazor/prj.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/projects/trogdor/lazor/prj.conf b/zephyr/projects/trogdor/lazor/prj.conf
index 88ad7d4b24..577aee7046 100644
--- a/zephyr/projects/trogdor/lazor/prj.conf
+++ b/zephyr/projects/trogdor/lazor/prj.conf
@@ -111,8 +111,8 @@ CONFIG_PLATFORM_EC_RTC=y
CONFIG_PLATFORM_EC_HOSTCMD_RTC=y
CONFIG_PLATFORM_EC_CONSOLE_CMD_RTC=y
-# TODO(b/182398910): bringup these features
-CONFIG_PLATFORM_EC_VBOOT_HASH=n
-#
+# EC software sync
+CONFIG_PLATFORM_EC_VBOOT_HASH=y
+
# Serial Host Interface (SHI) device.
CONFIG_CROS_SHI_NPCX=y