summaryrefslogtreecommitdiff
path: root/include/extension.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@google.com>2016-10-07 16:39:56 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-10-08 01:04:50 -0700
commit0ff799bb75c3bd6b310166b05bc48536f0b6c06d (patch)
tree73292a82d7b7b83f358ef45da3fe71dea06c7a79 /include/extension.h
parent36b39b5fc92e4857249372cccec099440ba67c66 (diff)
downloadchrome-ec-0ff799bb75c3bd6b310166b05bc48536f0b6c06d.tar.gz
cr50: add reset extension command
While USB updates have a mechanism to trigger the target reset, SPI updates do not have it. This patch adds an extension command to cause the device reset. BRANCH=none BUG=chrome-os-partner:58226 TEST=with the rest of the patches applied verified that the system gets reset and the new image version kicks in on both gru (over SPI) and reef (over USB). Change-Id: I498538670e2c43d17b13510288eb9ae75eb7b761 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/395628 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/extension.h')
-rw-r--r--include/extension.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/extension.h b/include/extension.h
index 92a8c28ab7..d3001934da 100644
--- a/include/extension.h
+++ b/include/extension.h
@@ -53,6 +53,7 @@ enum {
EXTENSION_FW_UPGRADE = 4,
EXTENSION_HKDF = 5,
EXTENSION_ECIES = 6,
+ EXTENSION_POST_RESET = 7,
};