diff options
author | Keith Short <keithshort@chromium.org> | 2019-01-04 11:19:51 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-17 20:20:48 -0800 |
commit | 948c320a35f3f5a1942bd33a93a3f4233ef19008 (patch) | |
tree | 05f52eb7eab7219db9a4711f18a02ee934da0332 /board/cr50/closed_source_set1.h | |
parent | 81f1c81cf9521425b0d57cd94774d80ec4db0ef0 (diff) | |
download | chrome-ec-948c320a35f3f5a1942bd33a93a3f4233ef19008.tar.gz |
cr50: Support closed source customer diagnostic mode
Drives OEM specific GPIOS to enable diagnostic mode on a closed source
EC.
BUG=b:122312536
BRANCH=cr50
TEST=make buildall. Verified GPIO states with scope at boot and after
sending TPM disable command from the AP. Diagnostic mode is cleared on
reboot.
Change-Id: Id7c9d7e5cc63e5e6f56451ceaca04eeddb254f7d
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1394692
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'board/cr50/closed_source_set1.h')
-rw-r--r-- | board/cr50/closed_source_set1.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/board/cr50/closed_source_set1.h b/board/cr50/closed_source_set1.h index 44f7e39be0..0970726f45 100644 --- a/board/cr50/closed_source_set1.h +++ b/board/cr50/closed_source_set1.h @@ -21,5 +21,11 @@ void closed_source_set1_configure_gpios(void); */ void closed_source_set1_update_factory_mode(void); +/** + * In response to a TPM_MODE disable, drive the GPIOs specific to + * BOARD_CLOSED_SOURCE_SET1 to match the diagnostic state setting. + */ +void close_source_set1_disable_tpm(void); + #endif /* ! __EC_BOARD_CR50_CLOSED_SOURCE_SET1_H */ |