summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/storo/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/storo/board.c b/board/storo/board.c
index 32826d2a3f..f9e17c5749 100644
--- a/board/storo/board.c
+++ b/board/storo/board.c
@@ -268,6 +268,9 @@ void board_init(void)
on = chipset_in_state(CHIPSET_STATE_ON | CHIPSET_STATE_ANY_SUSPEND |
CHIPSET_STATE_SOFT_OFF);
board_power_5v_enable(on);
+
+ if (!gpio_get_level(GPIO_PEN_DET_ODL))
+ gpio_set_level(GPIO_EN_PP3300_PEN, 1);
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);