mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user