summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorNamyoon Woo <namyoon@chromium.org>2019-12-06 13:40:18 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-22 01:46:37 +0000
commitc5322ba116003017deab926f5d1e9bdd16f649b8 (patch)
tree029288582014d5a5d8be0ca87643e0e1fe707328 /include/common.h
parentcfc689dcb00f3b81e857c8fbd21e4599443ceeff (diff)
downloadchrome-ec-c5322ba116003017deab926f5d1e9bdd16f649b8.tar.gz
read EC Firmware hash from kernel secdata during board init
Cr50 reads EC Firmware hash from kernel secdata. This data shall be used for EC-EFS (Early Firmware Selection) procedure. BUG=chromium:1020578, b:148489182 BRANCH=cr50 TEST=none Change-Id: Id8942b5b49dd5b0412d198a12ee0bf87fd59d47f Signed-off-by: Namyoon Woo <namyoon@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1956159 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 99e9ad91c9..62f7d438d0 100644
--- a/include/common.h
+++ b/include/common.h
@@ -239,6 +239,8 @@ enum ec_error_list {
/* Verified boot data errors */
EC_ERROR_VBOOT_DATA = 0x1200,
EC_ERROR_VBOOT_DATA_VERIFY = 0x1201,
+ EC_ERROR_VBOOT_DATA_INCOMPATIBLE = 0x1202,
+ EC_ERROR_VBOOT_DATA_UNDERSIZED = 0x1203,
/* Module-internal error codes may use this range. */
EC_ERROR_INTERNAL_FIRST = 0x10000,