summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2020-11-13 16:24:28 -0800
committerCommit Bot <commit-bot@chromium.org>2020-11-19 16:23:18 +0000
commit10534b57d4a0cd6a794bbe0fbb9cbaa68010fa63 (patch)
tree2d8ad3af96bfdf8bb3818dd7b6565f960454229d
parent87613f3e9bf22d8d420ea5667b750ea4fb6d5c6b (diff)
downloadchrome-ec-10534b57d4a0cd6a794bbe0fbb9cbaa68010fa63.tar.gz
common: Add EC_SUCCESS_IN_PROGRESS to enum ec_error_list
EC_SUCCESS_IN_PROGRESS can be returned to indicate the operation was successful but the completion is pending. BUG=b:173235954 BRANCH=Trogdor TEST=buildall Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I6f7816f190938aaefa4e02ed8f36edac7dcf2faf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2538538 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--include/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index c013d83d16..d08fa911a4 100644
--- a/include/common.h
+++ b/include/common.h
@@ -273,6 +273,9 @@ enum ec_error_list {
/* Sometimes operation is expected to have to be repeated. */
EC_ERROR_TRY_AGAIN = 26,
+ /* Operation was successful but completion is pending. */
+ EC_SUCCESS_IN_PROGRESS = 27,
+
/* Verified boot errors */
EC_ERROR_VBOOT_SIGNATURE = 0x1000, /* 4096 */
EC_ERROR_VBOOT_SIG_MAGIC = 0x1001,