diff options
author | Mary Ruthven <mruthven@chromium.org> | 2022-08-12 10:18:20 -0500 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-25 15:29:02 +0000 |
commit | a8e2aabdddbc014d24b70821a45ed739d89afd25 (patch) | |
tree | cecbfdec851cb63129ae84693057cea6aa06d3be | |
parent | 07ba1c6481737c5a6f03ab5ad08c3334f3c9e1fd (diff) | |
download | chrome-ec-a8e2aabdddbc014d24b70821a45ed739d89afd25.tar.gz |
ap_ro_integrity_check: specify ap ro status enum valuesstabilize-15072.B-cr50_stab
Specify ap ro status enum values, so it's easy to verify they're the
same across Ti50 and AP scripts.
BUG=none
TEST=none
Change-Id: Id65855b030ae315440f59b84dd02def0ef9d2c1f
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3828598
Reviewed-by: Andrey Pronin <apronin@chromium.org>
-rw-r--r-- | include/ap_ro_integrity_check.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/ap_ro_integrity_check.h b/include/ap_ro_integrity_check.h index dbc6644d47..146e185d96 100644 --- a/include/ap_ro_integrity_check.h +++ b/include/ap_ro_integrity_check.h @@ -10,13 +10,13 @@ enum ap_ro_status { AP_RO_NOT_RUN = 0, - AP_RO_PASS_UNVERIFIED_GBB, - AP_RO_FAIL, - AP_RO_UNSUPPORTED_UNKNOWN, /* Deprecated */ - AP_RO_UNSUPPORTED_NOT_TRIGGERED, - AP_RO_UNSUPPORTED_TRIGGERED, - AP_RO_PASS, - AP_RO_IN_PROGRESS, + AP_RO_PASS_UNVERIFIED_GBB = 1, + AP_RO_FAIL = 2, + AP_RO_UNSUPPORTED_UNKNOWN = 3, /* Deprecated */ + AP_RO_UNSUPPORTED_NOT_TRIGGERED = 4, + AP_RO_UNSUPPORTED_TRIGGERED = 5, + AP_RO_PASS = 6, + AP_RO_IN_PROGRESS = 7, }; /* * validate_ap_ro: based on information saved in an H1 RO flash page verify |