summaryrefslogtreecommitdiff
path: root/include/module_id.h
diff options
context:
space:
mode:
authorMatthew Blecker <matthewb@chromium.org>2018-07-26 20:55:35 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-08-09 22:04:40 -0700
commitb3f08549e2b42a3ac4d9070c559fb91e0b94ef4f (patch)
tree1c66d9d99039285101a72a91c20d537d7dc81c44 /include/module_id.h
parent740427a24398b3fd66904e913b742f751371d09c (diff)
downloadchrome-ec-b3f08549e2b42a3ac4d9070c559fb91e0b94ef4f.tar.gz
servo_micro: Add enable_ite_dfu and get_ite_chipid console commands.
enable_ite_dfu: Enable direct firmware update (DFU) over I2C mode on ITE IT8320 EC chip by sending special non-I2C waveforms over the I2C bus wires. get_ite_chipid: Verify that DFU mode is enabled by querying the EC over I2C for its CHIPID1 and CHIPID2 registers. It will only respond over I2C when in DFU mode. BRANCH=none BUG=b:79684405 TEST=get_ite_chipid succeeds after enable_ite_dfu Change-Id: Ief2c12ebd902285ea3d285767deb8d35c0017592 Signed-off-by: Matthew Blecker <matthewb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1152565 Reviewed-by: Nick Sanders <nsanders@chromium.org>
Diffstat (limited to 'include/module_id.h')
-rw-r--r--include/module_id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/module_id.h b/include/module_id.h
index e1e5a1d441..583ee40c8e 100644
--- a/include/module_id.h
+++ b/include/module_id.h
@@ -24,6 +24,7 @@ enum module_id {
MODULE_HOST_COMMAND,
MODULE_HOST_EVENT,
MODULE_I2C,
+ MODULE_I2C_TIMERS,
MODULE_KEYBOARD,
MODULE_KEYBOARD_SCAN,
MODULE_LIGHTBAR,