summaryrefslogtreecommitdiff
path: root/power/apollolake.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/apollolake.c')
-rw-r--r--power/apollolake.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/power/apollolake.c b/power/apollolake.c
index c477064c8d..3710579c3e 100644
--- a/power/apollolake.c
+++ b/power/apollolake.c
@@ -256,9 +256,6 @@ static enum power_state _power_handle_state(enum power_state state)
/* Platform is powering up, clear forcing_coldreset */
forcing_coldreset = 0;
- /* Call hooks to initialize PMIC */
- hook_notify(HOOK_CHIPSET_PRE_INIT);
-
/*
* Allow up to 1s for charger to be initialized, in case
* we're trying to boot the AP with no battery.
@@ -276,6 +273,9 @@ static enum power_state _power_handle_state(enum power_state state)
return POWER_G3;
}
+ /* Call hooks to initialize PMIC */
+ hook_notify(HOOK_CHIPSET_PRE_INIT);
+
/* Wait for RSMRST_L de-assert */
if (power_wait_signals(IN_PGOOD_ALL_CORE)) {
chipset_force_shutdown();