diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/scarlet/board.c | 6 | ||||
-rw-r--r-- | board/scarlet/board.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c index 188ed30371..388a5b4a94 100644 --- a/board/scarlet/board.c +++ b/board/scarlet/board.c @@ -561,3 +561,9 @@ int board_allow_i2c_passthru(int port) { return (port == I2C_PORT_VIRTUAL_BATTERY); } + +int tablet_get_mode(void) +{ + /* Always in tablet mode */ + return 1; +} diff --git a/board/scarlet/board.h b/board/scarlet/board.h index 132e43e2ac..8d39658ace 100644 --- a/board/scarlet/board.h +++ b/board/scarlet/board.h @@ -191,6 +191,7 @@ /* Enable Accel over SPI */ #define CONFIG_SPI_ACCEL_PORT 0 /* SPI master port (SPIP) form BMI160 */ +#define CONFIG_KEYBOARD_PROTOCOL_MKBP #define CONFIG_MKBP_EVENT /* Define the MKBP events which are allowed to wakeup AP in S3. */ #define CONFIG_MKBP_WAKEUP_MASK \ |