summaryrefslogtreecommitdiff
path: root/board/snow/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/snow/board.c')
-rw-r--r--board/snow/board.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/snow/board.c b/board/snow/board.c
index b58e8cde86..d4cd99cd16 100644
--- a/board/snow/board.c
+++ b/board/snow/board.c
@@ -58,7 +58,7 @@ const struct gpio_info gpio_list[GPIO_COUNT] = {
{"SPI1_NSS", GPIO_A, (1<<4), GPIO_PULL_UP, NULL},
/* Outputs */
- {"AC_STATUS", GPIO_A, (1<<5), GPIO_OUT_HIGH, NULL},
+ {"AC_STATUS", GPIO_A, (1<<5), GPIO_DEFAULT, NULL},
{"SPI1_MISO", GPIO_A, (1<<6), GPIO_OUT_HIGH, NULL},
{"EN_PP1350", GPIO_A, (1<<2), GPIO_OUT_LOW, NULL},
{"EN_PP5000", GPIO_A, (1<<11), GPIO_OUT_LOW, NULL},
@@ -144,6 +144,13 @@ void configure_board(void)
gpio_set_level(GPIO_EC_INT, 1);
}
+void configure_board_late(void)
+{
+#ifdef CONFIG_AC_POWER_STATUS
+ gpio_set_flags(GPIO_AC_STATUS, GPIO_OUT_HIGH);
+#endif
+}
+
void board_interrupt_host(int active)
{
/* interrupt host by using active low EC_INT signal */