diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-24 15:49:42 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-25 01:32:21 +0000 |
commit | 870b7ebb788edd1adba70a330d6b0f8c66439849 (patch) | |
tree | 06e73afe53eb02ef4a3fb24450108b9376cfec0c /include/charge_state.h | |
parent | df541c6ffdc3ecf2802bad1c235e730cd29f8bfb (diff) | |
download | chrome-ec-870b7ebb788edd1adba70a330d6b0f8c66439849.tar.gz |
cleanup: charge state header
Remove old TODO and function which no longer exists.
BUG=none
BRANCH=none
TEST=compile all platforms
Change-Id: I81c5ddb3d0e156d455be1af82f12d8d4f30e1bc8
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/174393
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/charge_state.h')
-rw-r--r-- | include/charge_state.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/charge_state.h b/include/charge_state.h index 5511dde496..bd8e5d05e6 100644 --- a/include/charge_state.h +++ b/include/charge_state.h @@ -12,7 +12,7 @@ /* Update period to prevent charger watchdog timeout */ #define CHARGER_UPDATE_PERIOD (SECOND * 10) -/* Power state task polling period in usec */ +/* Power state task polling periods in usec */ #define POLL_PERIOD_VERY_LONG MINUTE #define POLL_PERIOD_LONG (MSEC * 500) #define POLL_PERIOD_CHARGE (MSEC * 250) @@ -110,7 +110,6 @@ struct power_state_context { struct power_state_data prev; timestamp_t power_state_updated_time; uint32_t *memmap_batt_volt; - /* TODO(rong): check endianness of EC and memmap*/ uint32_t *memmap_batt_rate; uint32_t *memmap_batt_cap; uint8_t *memmap_batt_flags; @@ -125,13 +124,6 @@ struct power_state_context { int battery_responsive; }; -/* Trickle charging state handler. - * Trickle charging state is sub-state of charging. Normal charging handler - * can not set battery input current cap to a very low value. This function - * uses charging voltage to control battery input current. - */ -enum power_state trickle_charge(struct power_state_context *ctx); - /** * Return current charge state. */ |