diff options
-rw-r--r-- | board/poppy/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/poppy/board.c b/board/poppy/board.c index a2cbb5e8a0..7ad690bae5 100644 --- a/board/poppy/board.c +++ b/board/poppy/board.c @@ -598,6 +598,13 @@ static void board_init(void) /* Enable pericom BC1.2 interrupts */ gpio_enable_interrupt(GPIO_USB_C0_BC12_INT_L); gpio_enable_interrupt(GPIO_USB_C1_BC12_INT_L); + + /* + * If we jumped to this image and chipset is already in S0, enable + * base. + */ + if (system_jumped_to_this_image() && chipset_in_state(CHIPSET_STATE_ON)) + base_enable(); } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); |