summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/daisy/board.c6
-rw-r--r--board/daisy/board.h3
-rw-r--r--board/mccroskey/board.c7
-rw-r--r--board/mccroskey/board.h7
-rw-r--r--board/snow/board.c6
-rw-r--r--board/snow/board.h3
-rw-r--r--board/spring/board.c6
-rw-r--r--board/spring/board.h3
8 files changed, 8 insertions, 33 deletions
diff --git a/board/daisy/board.c b/board/daisy/board.c
index 89652bfb58..0a7b4bf54e 100644
--- a/board/daisy/board.c
+++ b/board/daisy/board.c
@@ -181,12 +181,6 @@ void configure_board(void)
gpio_set_level(GPIO_EC_INT, 1);
}
-void board_interrupt_host(int active)
-{
- /* interrupt host by using active low EC_INT signal */
- gpio_set_level(GPIO_EC_INT, !active);
-}
-
void board_keyboard_suppress_noise(void)
{
/* notify audio codec of keypress for noise suppression */
diff --git a/board/daisy/board.h b/board/daisy/board.h
index 1007a85b35..105cf46111 100644
--- a/board/daisy/board.h
+++ b/board/daisy/board.h
@@ -113,9 +113,6 @@ void configure_board(void);
/* Signal to the AP that keyboard scan data is available */
void board_keyboard_suppress_noise(void);
-/* Signal to AP that data is waiting */
-void board_interrupt_host(int active);
-
/* Auto detect EC i2c host port */
int board_i2c_host_port(void);
diff --git a/board/mccroskey/board.c b/board/mccroskey/board.c
index 4635908ac3..1e4d9cfa76 100644
--- a/board/mccroskey/board.c
+++ b/board/mccroskey/board.c
@@ -81,6 +81,10 @@ const struct gpio_info gpio_list[GPIO_COUNT] = {
/* FIXME: make this alt. function */
{"BL_PWM", GPIO_A, (1<<1), GPIO_OUTPUT, NULL},
+
+ /* Unimplemented signals which we need to emulate for now */
+ GPIO_SIGNAL_NOT_IMPLEMENTED("EC_INT"),
+
#if 0
/* Other GPIOs (probably need to be set up below as alt. function) */
{"STM_USBDM", GPIO_A, (1<<11), GPIO_DEFAULT, NULL},
@@ -165,6 +169,3 @@ void kbd_power_on(enum gpio_signal signal)
{
/* FIXME: this is just a stub for now... */
}
-
-/* FIXME: this should not be needed on mccroskey. */
-void board_interrupt_host(int active) { }
diff --git a/board/mccroskey/board.h b/board/mccroskey/board.h
index 83acec968a..b775c66cd9 100644
--- a/board/mccroskey/board.h
+++ b/board/mccroskey/board.h
@@ -100,6 +100,10 @@ enum gpio_signal {
/* FIXME: this will be an alt. function GPIO, so remove it from here */
GPIO_BL_PWM,
+
+ /* Unimplemented GPIOs */
+ GPIO_EC_INT,
+
#if 0
GPIO_STM_USBDM,
GPIO_STM_USBDP,
@@ -115,9 +119,6 @@ enum gpio_signal {
void configure_board(void);
-/* FIXME: this should not be needed on mccroskey. */
-void board_interrupt_host(int active);
-
#endif /* !__ASSEMBLER__ */
#endif /* __BOARD_H */
diff --git a/board/snow/board.c b/board/snow/board.c
index bb76860826..cebdcab1fe 100644
--- a/board/snow/board.c
+++ b/board/snow/board.c
@@ -177,12 +177,6 @@ void configure_board_late(void)
#endif
}
-void board_interrupt_host(int active)
-{
- /* interrupt host by using active low EC_INT signal */
- gpio_set_level(GPIO_EC_INT, !active);
-}
-
void board_keyboard_suppress_noise(void)
{
/* notify audio codec of keypress for noise suppression */
diff --git a/board/snow/board.h b/board/snow/board.h
index 5f2bb4c5c9..a0964a8d05 100644
--- a/board/snow/board.h
+++ b/board/snow/board.h
@@ -124,9 +124,6 @@ void configure_board(void);
void configure_board_late(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);
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);