summaryrefslogtreecommitdiff
path: root/chip/g/config_chip.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-11-12 17:21:17 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-18 00:14:03 -0800
commitee1a2a3a8329323e0600d12ad1b371d62136867e (patch)
treed726fbe4768075f33c3e6baa8bfe4de84a171a7a /chip/g/config_chip.h
parent7f1baece0a5be8e7860cfe09bd94b39ffb3ba93c (diff)
downloadchrome-ec-ee1a2a3a8329323e0600d12ad1b371d62136867e.tar.gz
add command multiplexer to the TPM driver
This code allows to send extension commands over TPM protocol, no callbacks have been registered yet. The same buffer is used as input and output data. The header is stripped off before the callback is called and then re-added after processing. This could be used for testing, for proprietary firmware update protocol, etc. BRANCH=none BUG=chrome-os-partner:47524 TEST=none yet Change-Id: I91f692cc6e20abe774ee4ef001be28e5af102b2a Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/312587
Diffstat (limited to 'chip/g/config_chip.h')
-rw-r--r--chip/g/config_chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/g/config_chip.h b/chip/g/config_chip.h
index 3978371a26..cbb54dfc13 100644
--- a/chip/g/config_chip.h
+++ b/chip/g/config_chip.h
@@ -70,5 +70,6 @@
#define CONFIG_RW_MEM_OFF 0x4000
#define CONFIG_CUSTOMIZED_RO
+#define CONFIG_EXTENSION_COMMAND 0xbaccd00a
#endif /* __CROS_EC_CONFIG_CHIP_H */