summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorSam Hurst <shurst@google.com>2017-02-01 09:20:22 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-02-06 14:50:32 -0800
commitedf46467b9519478885375b393fadcdbdd90dde4 (patch)
treeea18c2e91481fb255352dd2a89e56b848cf4c6a5 /core
parent2e0df8b6c66c2150dbac853a1abe67d41e46acf9 (diff)
downloadchrome-ec-edf46467b9519478885375b393fadcdbdd90dde4.tar.gz
cleanup: Remove charge_state_v1
All boards have been transitioned to charge_state_v2.c So charge_state_v1.c, HOOK_CHARGE_STATE_CHANGE, and CONFIG_CHARGER_TIMEOUT_HOURS can be removed BUG=chrome-os-partner:36272 TEST=make -j buildall BRANCH=none Change-Id: I3f20c5198ea75185f9894deb792575a1be31432a Reviewed-on: https://chromium-review.googlesource.com/435467 Commit-Ready: Sam Hurst <shurst@google.com> Tested-by: Sam Hurst <shurst@google.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/ec.lds.S4
-rw-r--r--core/cortex-m0/ec.lds.S4
-rw-r--r--core/host/host_exe.lds4
-rw-r--r--core/minute-ia/ec.lds.S4
-rw-r--r--core/nds32/ec.lds.S4
5 files changed, 0 insertions, 20 deletions
diff --git a/core/cortex-m/ec.lds.S b/core/cortex-m/ec.lds.S
index 90212a5389..84071097ca 100644
--- a/core/cortex-m/ec.lds.S
+++ b/core/cortex-m/ec.lds.S
@@ -188,10 +188,6 @@ SECTIONS
KEEP(*(.rodata.HOOK_POWER_BUTTON_CHANGE))
__hooks_pwrbtn_change_end = .;
- __hooks_charge_state_change = .;
- 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 = .;
diff --git a/core/cortex-m0/ec.lds.S b/core/cortex-m0/ec.lds.S
index 6102bfa973..45df126b89 100644
--- a/core/cortex-m0/ec.lds.S
+++ b/core/cortex-m0/ec.lds.S
@@ -135,10 +135,6 @@ SECTIONS
KEEP(*(.rodata.HOOK_POWER_BUTTON_CHANGE))
__hooks_pwrbtn_change_end = .;
- __hooks_charge_state_change = .;
- 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 = .;
diff --git a/core/host/host_exe.lds b/core/host/host_exe.lds
index 2c4eabdeeb..4e19bb812a 100644
--- a/core/host/host_exe.lds
+++ b/core/host/host_exe.lds
@@ -81,10 +81,6 @@ 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_battery_soc_change = .;
*(.rodata.HOOK_BATTERY_SOC_CHANGE)
__hooks_battery_soc_change_end = .;
diff --git a/core/minute-ia/ec.lds.S b/core/minute-ia/ec.lds.S
index 63db8f1e2a..a15ffedaf0 100644
--- a/core/minute-ia/ec.lds.S
+++ b/core/minute-ia/ec.lds.S
@@ -106,10 +106,6 @@ SECTIONS
KEEP(*(.rodata.HOOK_POWER_BUTTON_CHANGE))
__hooks_pwrbtn_change_end = .;
- __hooks_charge_state_change = .;
- 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 = .;
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S
index 1f125243c9..d497099169 100644
--- a/core/nds32/ec.lds.S
+++ b/core/nds32/ec.lds.S
@@ -133,10 +133,6 @@ SECTIONS
KEEP(*(.rodata.HOOK_POWER_BUTTON_CHANGE))
__hooks_pwrbtn_change_end = .;
- __hooks_charge_state_change = .;
- 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 = .;