diff options
author | Dave Parker <dparker@chromium.org> | 2013-07-25 22:39:13 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-01 11:07:58 -0700 |
commit | 8e28efa7ac4bc6cec969a928d1b34b6d423d582f (patch) | |
tree | 1c3e7cb6f28a38119bd1e798bc5595734a9fa661 /core/cortex-m | |
parent | 706f1211468ebfcd0fc9890b83f8443994a9f7f0 (diff) | |
download | chrome-ec-8e28efa7ac4bc6cec969a928d1b34b6d423d582f.tar.gz |
Add hook for changes in the charge state machine
BUG=chrome-os-partner:20145
BRANCH=falco,peppy
TEST=Manual. Tested with charging timeout logic.
Change-Id: Iab1c9746dcab5820fcdeb3e0d94bfcb0c47e57f2
Signed-off-by: Dave Parker <dparker@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/63537
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'core/cortex-m')
-rw-r--r-- | core/cortex-m/ec.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S index 9a8f09c9ba..c5d90265ce 100644 --- a/core/cortex-m/ec.lds.S +++ b/core/cortex-m/ec.lds.S @@ -100,6 +100,10 @@ SECTIONS *(.rodata.HOOK_POWER_BUTTON_CHANGE) __hooks_pwrbtn_change_end = .; + __hooks_charge_state_change = .; + *(.rodata.HOOK_CHARGE_STATE_CHANGE) + __hooks_charge_state_change_end = .; + __hooks_tick = .; *(.rodata.HOOK_TICK) __hooks_tick_end = .; |