summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
Diffstat (limited to 'chip')
-rw-r--r--chip/g/system.c3
-rw-r--r--chip/g/system_chip.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/chip/g/system.c b/chip/g/system.c
index 2e464391db..2fffebdc4a 100644
--- a/chip/g/system.c
+++ b/chip/g/system.c
@@ -531,6 +531,9 @@ int system_process_retry_counter(void)
CPRINTS("%s: retry counter %d", __func__,
GREG32(PMU, LONG_LIFE_SCRATCH0));
system_clear_retry_counter();
+#if defined(CHIP_FAMILY_CR50)
+ system_notify_ap_boot();
+#endif
if (!system_rollback_detected())
return EC_SUCCESS;
diff --git a/chip/g/system_chip.h b/chip/g/system_chip.h
index 3547bf58c7..7c450315fb 100644
--- a/chip/g/system_chip.h
+++ b/chip/g/system_chip.h
@@ -94,4 +94,9 @@ void system_pinhold_on_reset_disable(void);
*/
void system_pinhold_disengage(void);
+/**
+ * Notify the board booted.
+ */
+void system_notify_ap_boot(void);
+
#endif /* __CROS_EC_SYSTEM_CHIP_H */