diff options
Diffstat (limited to 'common/gaia_power.c')
-rw-r--r-- | common/gaia_power.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/common/gaia_power.c b/common/gaia_power.c index de7b0c6662..cc8914de7f 100644 --- a/common/gaia_power.c +++ b/common/gaia_power.c @@ -351,12 +351,16 @@ static int power_on(void) /* wait to have stable power */ usleep(DELAY_5V_SETUP); - /* - * Initiate PMIC power-on sequence only if cold booting AP to - * avoid accidental reset (crosbug.com/p/12650). - */ - if (gpio_get_level(GPIO_SOC1V8_XPSHOLD) == 0) + if (gpio_get_level(GPIO_SOC1V8_XPSHOLD) == 0) { + /* Initialize non-AP components */ + hook_notify(HOOK_CHIPSET_PRE_INIT, 0); + + /* + * Initiate PMIC power-on sequence only if cold booting AP to + * avoid accidental reset (crosbug.com/p/12650). + */ gpio_set_level(GPIO_PMIC_PWRON_L, 0); + } /* wait for all PMIC regulators to be ready */ wait_in_signal(GPIO_PP1800_LDO2, 1, PMIC_TIMEOUT); |