summaryrefslogtreecommitdiff
path: root/board/poppy
diff options
context:
space:
mode:
Diffstat (limited to 'board/poppy')
-rw-r--r--board/poppy/base_detect_poppy.c2
-rw-r--r--board/poppy/board.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/board/poppy/base_detect_poppy.c b/board/poppy/base_detect_poppy.c
index dc4341d51a..358461896e 100644
--- a/board/poppy/base_detect_poppy.c
+++ b/board/poppy/base_detect_poppy.c
@@ -241,7 +241,7 @@ static void base_init(void)
* 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))
+ if (system_jumped_late() && chipset_in_state(CHIPSET_STATE_ON))
base_enable();
}
DECLARE_HOOK(HOOK_INIT, base_init, HOOK_PRIO_DEFAULT+1);
diff --git a/board/poppy/board.c b/board/poppy/board.c
index ddd0721591..dccf04a3cd 100644
--- a/board/poppy/board.c
+++ b/board/poppy/board.c
@@ -289,7 +289,7 @@ void board_tcpc_init(void)
int reg;
/* Only reset TCPC if not sysjump */
- if (!system_jumped_to_this_image()) {
+ if (!system_jumped_late()) {
gpio_set_level(GPIO_PP3300_USB_PD, 1);
/* TODO(crosbug.com/p/61098): How long do we need to wait? */
msleep(10);
@@ -492,7 +492,7 @@ static void board_pmic_init(void)
{
board_report_pmic_fault("SYSJUMP");
- if (system_jumped_to_this_image())
+ if (system_jumped_late())
return;
/* DISCHGCNT3 - enable 100 ohm discharge on V1.00A */