summaryrefslogtreecommitdiff
path: root/power
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-11-01 11:39:00 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-04 19:48:49 +0000
commitc1e02ca2203a7889539a88570e142f16cfd265a8 (patch)
treed5179376c575bfed91c7227e1da7d50cddbfd1b5 /power
parent2aae9d678a500cab94ad7f0747940de9e01d8a6e (diff)
downloadchrome-ec-c1e02ca2203a7889539a88570e142f16cfd265a8.tar.gz
cleanup: Yes, even more TODO comments
Almost done. Comment changes only. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all platforms Change-Id: I974dfc12aa264e2035b3bae35a089c19344e7d45 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/175484 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
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");
/*