From 5b4decd26a47f6ce9d21c67da31762d3a78ddb8c Mon Sep 17 00:00:00 2001 From: Dino Li Date: Thu, 20 Apr 2017 16:47:11 +0800 Subject: [PATCH] it83xx: Added CONFIG_SWITCH support. This change updates switch status to EC MEMMAP. BRANCH=none BUG=none TEST=Use 'mmapinfo' console command to verify lid status. Change-Id: I80b9e407a8793f2de84011473cd51c5453d77859 Signed-off-by: Dino Li Reviewed-on: https://chromium-review.googlesource.com/483259 Reviewed-by: Randall Spangler --- chip/it83xx/config_chip.h | 1 + 1 file changed, 1 insertion(+) diff --git a/chip/it83xx/config_chip.h b/chip/it83xx/config_chip.h index 2f1f049dd9..6571d4fefe 100644 --- a/chip/it83xx/config_chip.h +++ b/chip/it83xx/config_chip.h @@ -106,6 +106,7 @@ #define CONFIG_PECI #define CONFIG_PWM #define CONFIG_SPI +#define CONFIG_SWITCH #define GPIO_PIN(port, index) GPIO_##port, (1 << index) #define GPIO_PIN_MASK(port, mask) GPIO_##port, (mask)