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 <Dino.Li@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/483259
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
Dino Li
2017-04-20 16:47:11 +08:00
committed by chrome-bot
parent bd5dee115c
commit 5b4decd26a

View File

@@ -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)