summaryrefslogtreecommitdiff
path: root/power/skylake.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/skylake.c')
-rw-r--r--power/skylake.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/power/skylake.c b/power/skylake.c
index 9cad5baaf4..61c07fb70e 100644
--- a/power/skylake.c
+++ b/power/skylake.c
@@ -124,7 +124,7 @@ __attribute__((weak)) int board_has_working_reset_flags(void)
}
#ifdef CONFIG_CHIPSET_HAS_PLATFORM_PMIC_RESET
-static void chipset_handle_reboot(void)
+void chipset_handle_reboot(void)
{
int flags;
@@ -167,5 +167,7 @@ static void chipset_handle_reboot(void)
while (1)
; /* wait here */
}
+#ifndef CONFIG_VBOOT_EFS
DECLARE_HOOK(HOOK_INIT, chipset_handle_reboot, HOOK_PRIO_FIRST);
#endif
+#endif /* CONFIG_CHIPSET_HAS_PLATFORM_RESET */