From 10534b57d4a0cd6a794bbe0fbb9cbaa68010fa63 Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Fri, 13 Nov 2020 16:24:28 -0800 Subject: 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 Change-Id: I6f7816f190938aaefa4e02ed8f36edac7dcf2faf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2538538 Reviewed-by: Vincent Palatin --- include/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/common.h') 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, -- cgit v1.2.1