From 0fdfcda963ae7d09d47ddc7bba91c53f22315071 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 6 Jun 2013 09:49:49 -0700 Subject: [PATCH] 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 Reviewed-on: https://gerrit.chromium.org/gerrit/57810 Reviewed-by: Randall Spangler --- common/build.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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