summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
Diffstat (limited to 'power')
-rw-r--r--power/gaia.c13
-rw-r--r--power/tegra.c10
2 files changed, 17 insertions, 6 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 */
diff --git a/power/tegra.c b/power/tegra.c
index 3484a266ae..18b39ea7fe 100644
--- a/power/tegra.c
+++ b/power/tegra.c
@@ -309,12 +309,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");
/*