diff options
Diffstat (limited to 'power/gaia.c')
-rw-r--r-- | power/gaia.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/power/gaia.c b/power/gaia.c index fd5d5fb7a6..c6077c921f 100644 --- a/power/gaia.c +++ b/power/gaia.c @@ -369,12 +369,18 @@ int chipset_in_state(int state_mask) void chipset_exit_hard_off(void) { - /* TODO: implement, if/when we take the AP down to a hard-off state */ + /* + * TODO(crosbug.com/p/23822): Implement, if/when we take the AP down to + * a hard-off state. + */ } void chipset_reset(int is_cold) { - /* TODO: implement cold reset. For now, all resets are warm resets. */ + /* + * TODO(crosbug.com/p/23822): Implement cold reset. For now, all + * resets are warm resets. + */ CPRINTF("[%T EC triggered warm reboot]\n"); /* @@ -438,8 +444,7 @@ void chipset_force_shutdown(void) */ static int check_for_power_on_event(void) { - /* the system is already ON */ - /* TODO: this isn't the right check for pit */ + /* Check if we've already powered the system on */ if (gpio_get_level(GPIO_EN_PP3300)) { CPRINTF("[%T system is on, thus clear auto_power_on]\n"); auto_power_on = 0; /* no need to arrange another power on */ |