summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-06-06 09:49:49 -0700
committerChromeBot <chrome-bot@google.com>2013-06-07 09:46:10 -0700
commit0fdfcda963ae7d09d47ddc7bba91c53f22315071 (patch)
tree59f9e5ff8915d59466689c15c82b77050d9f0534
parent57c7d4103fd1319b9699784d1f08ef36f619a436 (diff)
downloadchrome-ec-0fdfcda963ae7d09d47ddc7bba91c53f22315071.tar.gz
Separate battery selection from charging logic
Just tweaking the build.mk file so that other batteries can be specified for use by the same charging logic. BUG=none BRANCH=none TEST=none Change-Id: I01b39a6ffc4091b9b7824cf1759b36168f6f5701 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/57810 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--common/build.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk
index 912097ce46..33ea132e06 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -10,8 +10,9 @@ common-y=main.o util.o console_output.o uart_buffering.o
common-y+=memory_commands.o shared_mem.o system_common.o hooks.o
common-y+=gpio_common.o version.o printf.o queue.o
common-$(CONFIG_BATTERY_BQ20Z453)+=battery_bq20z453.o
-common-$(CONFIG_BATTERY_LINK)+=battery_link.o charge_state.o battery_precharge.o
+common-$(CONFIG_BATTERY_LINK)+=battery_link.o
common-$(CONFIG_BATTERY_SPRING)+=battery_spring.o
+common-$(CONFIG_CHARGER)+=charge_state.o battery_precharge.o
common-$(CONFIG_CHARGER_BQ24725)+=charger_bq24725.o
common-$(CONFIG_CHARGER_TPS65090)+=pmu_tps65090_charger.o
common-$(CONFIG_CHIPSET_GAIA)+=gaia_power.o