diff options
-rw-r--r-- | board/munna/board.c | 1 | ||||
-rw-r--r-- | board/munna/board.h | 5 | ||||
-rw-r--r-- | board/munna/gpio.inc | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/board/munna/board.c b/board/munna/board.c index fe7cf484c4..8a81ed5966 100644 --- a/board/munna/board.c +++ b/board/munna/board.c @@ -37,7 +37,6 @@ #include "registers.h" #include "spi.h" #include "system.h" -#include "tablet_mode.h" #include "task.h" #include "tcpm/tcpm.h" #include "timer.h" diff --git a/board/munna/board.h b/board/munna/board.h index 50cd6111ca..f530c45781 100644 --- a/board/munna/board.h +++ b/board/munna/board.h @@ -120,6 +120,11 @@ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) +#undef CONFIG_GMR_TABLET_MODE +#undef GMR_TABLET_MODE_GPIO_L +#undef CONFIG_TABLET_MODE +#undef CONFIG_TABLET_MODE_SWITCH + #ifndef __ASSEMBLER__ enum adc_channel { diff --git a/board/munna/gpio.inc b/board/munna/gpio.inc index ad71f60b36..50e5ee3a47 100644 --- a/board/munna/gpio.inc +++ b/board/munna/gpio.inc @@ -37,11 +37,10 @@ GPIO_INT(IT8801_SMB_INT, PIN(A, 8), GPIO_INT_FALLING | GPIO_PULL_UP, io_expander_it8801_interrupt) /* KB_INT_ODL */ GPIO_INT(AP_EC_WATCHDOG_L, PIN(D, 2), GPIO_INT_FALLING, chipset_watchdog_interrupt) -GPIO_INT(TABLET_MODE_L, PIN(B, 11), GPIO_INT_BOTH, - gmr_tablet_switch_isr) /* Unimplemented interrupts */ GPIO(ALS_RGB_INT_ODL, PIN(C, 10), GPIO_INPUT) +GPIO(TABLET_MODE_L, PIN(B, 11), GPIO_INPUT) /* Reset pins */ GPIO(AP_SYS_RST_L, PIN(C, 11), GPIO_OUT_LOW) |