summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-05-24 15:08:04 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-06-01 17:44:20 -0700
commit9734ec2d6bd5310f2bbaafded2f5fd9a69496333 (patch)
tree8857465099ffd6e8624604eedff28b6775599cae /board
parentf30bb2839f0cd22efe0468680daf66e45a3ce862 (diff)
downloadchrome-ec-9734ec2d6bd5310f2bbaafded2f5fd9a69496333.tar.gz
battery: Move fuel gauge code to common
Move fuel gauge code to common to avoid duplication in octopus and grunt baseboards. BUG=b:79704826,b:74018100 BRANCH=none TEST=make -j buildall Change-Id: I58a615c9ed7906cb19b49c2baa36aaa619838cf1 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1072637 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Vijay Hiremath <vijay.p.hiremath@intel.corp-partner.google.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/bip/battery.c2
-rw-r--r--board/careena/battery.c2
-rw-r--r--board/grunt/battery.c2
-rw-r--r--board/phaser/battery.c2
-rw-r--r--board/yorp/battery.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/board/bip/battery.c b/board/bip/battery.c
index 584584af32..e37ffbc3b7 100644
--- a/board/bip/battery.c
+++ b/board/bip/battery.c
@@ -5,8 +5,8 @@
* Battery pack vendor provided charging profile
*/
+#include "battery_fuel_gauge.h"
#include "common.h"
-#include "baseboard_battery.h"
#include "util.h"
/*
diff --git a/board/careena/battery.c b/board/careena/battery.c
index c0af812b9f..4cc92970c2 100644
--- a/board/careena/battery.c
+++ b/board/careena/battery.c
@@ -5,8 +5,8 @@
* Battery pack vendor provided charging profile
*/
+#include "battery_fuel_gauge.h"
#include "common.h"
-#include "baseboard_battery.h"
#include "util.h"
/*
diff --git a/board/grunt/battery.c b/board/grunt/battery.c
index 3dd9f84832..359ec9785b 100644
--- a/board/grunt/battery.c
+++ b/board/grunt/battery.c
@@ -5,8 +5,8 @@
* Battery pack vendor provided charging profile
*/
+#include "battery_fuel_gauge.h"
#include "common.h"
-#include "baseboard_battery.h"
#include "util.h"
/*
diff --git a/board/phaser/battery.c b/board/phaser/battery.c
index 6c87b18dfa..d4d054fffb 100644
--- a/board/phaser/battery.c
+++ b/board/phaser/battery.c
@@ -5,8 +5,8 @@
* Battery pack vendor provided charging profile
*/
+#include "battery_fuel_gauge.h"
#include "common.h"
-#include "baseboard_battery.h"
#include "util.h"
/*
diff --git a/board/yorp/battery.c b/board/yorp/battery.c
index 603beb38b9..1d8ec33d3d 100644
--- a/board/yorp/battery.c
+++ b/board/yorp/battery.c
@@ -5,8 +5,8 @@
* Battery pack vendor provided charging profile
*/
+#include "battery_fuel_gauge.h"
#include "common.h"
-#include "baseboard_battery.h"
#include "util.h"
/*