summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/grunt/baseboard.c2
-rw-r--r--baseboard/hatch/baseboard.c2
-rw-r--r--baseboard/intelrvp/chg_usb_pd.c2
-rw-r--r--baseboard/octopus/baseboard.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/baseboard/grunt/baseboard.c b/baseboard/grunt/baseboard.c
index acc9d19855..26b9ac5bae 100644
--- a/baseboard/grunt/baseboard.c
+++ b/baseboard/grunt/baseboard.c
@@ -136,7 +136,7 @@ void tcpc_alert_event(enum gpio_signal signal)
void board_tcpc_init(void)
{
/* Only reset TCPC if not sysjump */
- if (!system_jumped_to_this_image())
+ if (!system_jumped_late())
board_reset_pd_mcu();
/* Enable PPC interrupts. */
diff --git a/baseboard/hatch/baseboard.c b/baseboard/hatch/baseboard.c
index 813ff11b31..07b018443e 100644
--- a/baseboard/hatch/baseboard.c
+++ b/baseboard/hatch/baseboard.c
@@ -178,7 +178,7 @@ unsigned int ppc_cnt = ARRAY_SIZE(ppc_chips);
void baseboard_tcpc_init(void)
{
/* Only reset TCPC if not sysjump */
- if (!system_jumped_to_this_image())
+ if (!system_jumped_late())
board_reset_pd_mcu();
/* Enable PPC interrupts. */
diff --git a/baseboard/intelrvp/chg_usb_pd.c b/baseboard/intelrvp/chg_usb_pd.c
index 7c8834806a..c15ee886eb 100644
--- a/baseboard/intelrvp/chg_usb_pd.c
+++ b/baseboard/intelrvp/chg_usb_pd.c
@@ -89,7 +89,7 @@ void board_tcpc_init(void)
int i;
/* Only reset TCPC if not sysjump */
- if (!system_jumped_to_this_image())
+ if (!system_jumped_late())
board_reset_pd_mcu();
/* Enable TCPCx interrupt */
diff --git a/baseboard/octopus/baseboard.c b/baseboard/octopus/baseboard.c
index e2c4eb30f4..bea8447ef3 100644
--- a/baseboard/octopus/baseboard.c
+++ b/baseboard/octopus/baseboard.c
@@ -231,7 +231,7 @@ enum adc_channel board_get_vbus_adc(int port)
void baseboard_tcpc_init(void)
{
/* Only reset TCPC if not sysjump */
- if (!system_jumped_to_this_image())
+ if (!system_jumped_late())
board_reset_pd_mcu();
/*