summaryrefslogtreecommitdiff
path: root/include/module_id.h
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-04-21 12:35:55 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-29 16:07:13 -0700
commit61e065326117f6aef474164a6a42fa0e50eeb096 (patch)
treed71d82b1e45a045fcecae1dea7e2c85f8457943c /include/module_id.h
parent43a0c703465d22cadff185792ba34932c4b4ba3f (diff)
downloadchrome-ec-61e065326117f6aef474164a6a42fa0e50eeb096.tar.gz
cr50: add basic rbox support
This change modifies the behavior of RBOX by blocking the key0 and key1 output, when the power button is pressed. It also adds support for printing debug statements when various RBOX interrupts are triggered. BUG=none BRANCH=none TEST=On cr50 test board verify key0 and key1 out are not asserted unless the power button is pressed. Change-Id: I67a3c1b8009279015bdc87bcf0995cffa9ab6f03 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/341470 Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/module_id.h')
-rw-r--r--include/module_id.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/module_id.h b/include/module_id.h
index 8697cbdd85..72849afa4d 100644
--- a/include/module_id.h
+++ b/include/module_id.h
@@ -33,20 +33,21 @@ enum module_id {
MODULE_POWER_LED,
MODULE_PWM, /* 20 */
MODULE_RDD,
+ MODULE_RBOX,
MODULE_SPI,
MODULE_SPI_FLASH,
- MODULE_SPI_MASTER,
- MODULE_SWITCH, /* 25 */
+ MODULE_SPI_MASTER, /* 25 */
+ MODULE_SWITCH,
MODULE_SYSTEM,
MODULE_TASK,
MODULE_THERMAL,
- MODULE_UART,
- MODULE_USART, /* 30 */
+ MODULE_UART, /* 30 */
+ MODULE_USART,
MODULE_USB,
MODULE_USB_DEBUG,
MODULE_USB_PD,
- MODULE_USB_PORT_POWER,
- MODULE_USB_SWITCH, /* 35 */
+ MODULE_USB_PORT_POWER, /* 35 */
+ MODULE_USB_SWITCH,
MODULE_VBOOT,
/* Module count; not an actual module */