diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-02-01 12:55:39 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-02-03 05:39:18 +0000 |
commit | 0cfc6a087f103dfa1a03d5e6671844ddd4ac8c14 (patch) | |
tree | aa3d87439408be8b28203f08d453b3e29d3baed6 /core/nds32/ec.lds.S | |
parent | c9adf202e3b1d50bda52fda9cb2f9cff918d64b4 (diff) | |
download | chrome-ec-0cfc6a087f103dfa1a03d5e6671844ddd4ac8c14.tar.gz |
hooks: add hook for battery state of charge change
Add hook for battery state of charge change. Hook will be used
to cleanup the samus charging workarounds to follow.
BUG=none
BRANCH=samus
TEST=make -j buildall
Change-Id: I99cbb8264783802139cac689804b056623063695
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/245252
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'core/nds32/ec.lds.S')
-rw-r--r-- | core/nds32/ec.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S index f66412cd6d..8a8927f11a 100644 --- a/core/nds32/ec.lds.S +++ b/core/nds32/ec.lds.S @@ -113,6 +113,10 @@ SECTIONS KEEP(*(.rodata.HOOK_CHARGE_STATE_CHANGE)) __hooks_charge_state_change_end = .; + __hooks_battery_soc_change = .; + KEEP(*(.rodata.HOOK_BATTERY_SOC_CHANGE)) + __hooks_battery_soc_change_end = .; + __hooks_tick = .; KEEP(*(.rodata.HOOK_TICK)) __hooks_tick_end = .; |