diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-05-02 16:11:55 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-05-09 14:40:08 -0700 |
commit | c7559fea4ea0e2bfbb9d7ce0006ff37dea01cc4b (patch) | |
tree | 96b31d73443dbe400be6a9ed824eafec2a2f59a8 /board/kevin | |
parent | 50ba7ef146aea95baa5ac74d6ac0ccf140568a6d (diff) | |
download | chrome-ec-c7559fea4ea0e2bfbb9d7ce0006ff37dea01cc4b.tar.gz |
tablet_mode: Define common interrupt handler for tablet switch
This patch adds an interrupt handler for a tablet switch and an init
hook to enable the interrupt.
The handler does the typical tasks for convertible devices: 1. sets
tablet mode then 2. disables peripherals if tablet mode is on.
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b:77298177
BRANCH=none
TEST=buildall. Verify on Nami.
Change-Id: If7fb5ea15f388d2b6084d800d2bc05efafd1945e
Reviewed-on: https://chromium-review.googlesource.com/1043057
Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'board/kevin')
-rw-r--r-- | board/kevin/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/kevin/board.h b/board/kevin/board.h index a6e152b512..d249ed3764 100644 --- a/board/kevin/board.h +++ b/board/kevin/board.h @@ -184,6 +184,7 @@ /* Modules we want to exclude */ #undef CONFIG_CMD_BATTFAKE +#undef CONFIG_CMD_CRASH #undef CONFIG_CMD_FLASH #undef CONFIG_CMD_HASH #undef CONFIG_CMD_HCDEBUG |