From 01279936cb7836ee5cef7e4c2332f6a6338a3162 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Tue, 23 Apr 2013 11:06:16 -0700 Subject: Unify lid switch processing STM32-based platforms now use the same lid debouncing code as LM4-based platforms, generate lid-open / lid-closed events, and trigger lid-change hooks. This is needed for disabling keyboard scanning when the lid is closed, as well as future changes to mask off wake events when the lid is closed. BUG=chrome-os-partner:18896 BRANCH=spring TEST=build all platforms; check that spring boots when lid is opened Change-Id: I09a6e91119c3739297fe49b7eacac6efda988284 Signed-off-by: Randall Spangler Reviewed-on: https://gerrit.chromium.org/gerrit/48924 Reviewed-by: Vic Yang --- board/spring/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/spring/board.h') diff --git a/board/spring/board.h b/board/spring/board.h index 4e7ef827e2..93b087e421 100644 --- a/board/spring/board.h +++ b/board/spring/board.h @@ -34,6 +34,7 @@ #define CONFIG_I2C #define CONFIG_I2C_PASSTHROUGH #define CONFIG_KEYBOARD_PROTOCOL_MKBP +#define CONFIG_LID_SWITCH #define CONFIG_LOW_POWER_IDLE /* Use STOP mode when we have nothing to do */ #define CONFIG_LP5562 #define CONFIG_PMU_BOARD_INIT -- cgit v1.2.1