summaryrefslogtreecommitdiff
path: root/include/extension.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-11-22 16:16:08 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-11-28 20:53:48 -0800
commit5d80e5a86535243e98c209d7e4cd56a50d1ad38f (patch)
treef86e4459ff331f8417b9a8e47c3f8892d4996770 /include/extension.h
parent6ac553462e790be98de7b521b5d30281cfc04684 (diff)
downloadchrome-ec-5d80e5a86535243e98c209d7e4cd56a50d1ad38f.tar.gz
tpm2: add extension command for immediate reset
Cr50 updates in development environment should allow resetting the device immediately after update (without the need for SYS_RST_L to be toggled). This patch adds a vendor command to do just that. BRANCH=none BUG=chrome-os-partner:60013. chrome-os-partner:60321 TEST=none yet, with the rest of the patches applied the target gets rebooted immediately after a cr50 code update. Also, observed that flashing the console does not quite work, opend crosbug.com/p/60321 to address this. Change-Id: Ia6f99ad6d22004347ad02aac2cbf4dd6c5594928 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/414442 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 66cc845af8..482da44048 100644
--- a/include/extension.h
+++ b/include/extension.h
@@ -29,6 +29,7 @@ enum vendor_cmd_cc {
VENDOR_CC_GET_LOCK = 16,
VENDOR_CC_SET_LOCK = 17,
VENDOR_CC_SYSINFO = 18,
+ VENDOR_CC_IMMEDIATE_RESET = 19,
LAST_VENDOR_COMMAND = 65535,
};