diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2017-11-02 16:42:13 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-19 17:04:53 -0700 |
commit | 1c03af23e1f8a62b6815fd520de5ace9e365b12f (patch) | |
tree | 6a599c3ab489bb361fb077f1db7c1cf82cd7f724 /include/common.h | |
parent | c577880b797367eb4503243284c3341b7615a7e6 (diff) | |
download | chrome-ec-1c03af23e1f8a62b6815fd520de5ace9e365b12f.tar.gz |
common: Add hardware error code
Add error code to indicate a piece of hardware is not working properly.
BUG=none
TEST=compile
BRANCH=none
Change-Id: I34eca8073a359aec1c559241654a1d0a7075cd44
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/753968
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 334b7a6111..d465180c56 100644 --- a/include/common.h +++ b/include/common.h @@ -147,6 +147,8 @@ enum ec_error_list { EC_ERROR_MEMORY_ALLOCATION = 23, /* Invalid to configure in the current module mode/stage */ EC_ERROR_INVALID_CONFIG = 24, + /* something wrong in a HW */ + EC_ERROR_HW_INTERNAL = 25, /* Verified boot errors */ EC_ERROR_VBOOT_SIGNATURE = 0x1000, /* 4096 */ |