diff options
author | Mary Ruthven <mruthven@chromium.org> | 2016-04-21 12:35:55 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-29 16:07:13 -0700 |
commit | 61e065326117f6aef474164a6a42fa0e50eeb096 (patch) | |
tree | d71d82b1e45a045fcecae1dea7e2c85f8457943c /include/console_channel.inc | |
parent | 43a0c703465d22cadff185792ba34932c4b4ba3f (diff) | |
download | chrome-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/console_channel.inc')
-rw-r--r-- | include/console_channel.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/console_channel.inc b/include/console_channel.inc index 9f63908074..0e717e8eee 100644 --- a/include/console_channel.inc +++ b/include/console_channel.inc @@ -15,7 +15,9 @@ CONSOLE_CHANNEL(CC_CHIPSET, "chipset") CONSOLE_CHANNEL(CC_CLOCK, "clock") CONSOLE_CHANNEL(CC_DMA, "dma") CONSOLE_CHANNEL(CC_EVENTS, "events") +#ifdef CONFIG_GESTURE_SW_DETECTION CONSOLE_CHANNEL(CC_GESTURE, "gesture") +#endif CONSOLE_CHANNEL(CC_GPIO, "gpio") CONSOLE_CHANNEL(CC_HOSTCMD, "hostcmd") CONSOLE_CHANNEL(CC_I2C, "i2c") @@ -34,6 +36,9 @@ CONSOLE_CHANNEL(CC_PD_HOST_CMD, "pdhostcm") CONSOLE_CHANNEL(CC_PORT80, "port80") CONSOLE_CHANNEL(CC_PWM, "pwm") CONSOLE_CHANNEL(CC_SPI, "spi") +#ifdef CONFIG_RBOX +CONSOLE_CHANNEL(CC_RBOX, "rbox") +#endif #ifdef CONFIG_SPS CONSOLE_CHANNEL(CC_SPS, "sps") #endif |