summaryrefslogtreecommitdiff
path: root/board/spring
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-03-19 16:40:23 -0700
committerChromeBot <chrome-bot@google.com>2013-03-20 17:42:04 -0700
commit447b05b8280d2dba9ec4c227e6cd0928e6065c26 (patch)
tree1bd9316aaeabee1a47f70dd8706c741cbf4aa488 /board/spring
parent22ff9df91367d6b74ab08521a6fc0b7293c8eaf9 (diff)
downloadchrome-ec-447b05b8280d2dba9ec4c227e6cd0928e6065c26.tar.gz
Move asserting host keyboard interrupt signal to keyboard_scan
The implementation is identical on all stm32 hardware, so remove all the duplicate copies from board.c files. mccrosskey doesn't have GPIO_EC_INT so stub it out like we do on bds. No functional change, just moving code. BUG=none BRANCH=none TEST=build mccrosskey,daisy,snow,spring Change-Id: I7d4378650d7b4c640c15180c41459a41620f5bd3 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/45920
Diffstat (limited to 'board/spring')
-rw-r--r--board/spring/board.c6
-rw-r--r--board/spring/board.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/board/spring/board.c b/board/spring/board.c
index cdb7abe3d7..e4d361a8ae 100644
--- a/board/spring/board.c
+++ b/board/spring/board.c
@@ -179,12 +179,6 @@ void board_i2c_post_init(int port)
}
}
-void board_interrupt_host(int active)
-{
- /* interrupt host by using active low EC_INT signal */
- gpio_set_level(GPIO_EC_INT, !active);
-}
-
static void board_startup_hook(void)
{
gpio_set_flags(GPIO_SUSPEND_L, INT_BOTH_PULL_UP);
diff --git a/board/spring/board.h b/board/spring/board.h
index 2b0f62e54a..67f16e9b44 100644
--- a/board/spring/board.h
+++ b/board/spring/board.h
@@ -146,9 +146,6 @@ enum charging_state;
void configure_board(void);
-/* Signal to AP that data is waiting */
-void board_interrupt_host(int active);
-
/* Initialize PMU registers using board settings */
int board_pmu_init(void);