From 93cb494a7e44864912843e63c04ae72912a1a2e4 Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Tue, 20 Aug 2013 16:36:38 +0800 Subject: Add BQ27541 battery driver BQ27541 is not a smart battery IC, and thus we cannot use existing smart battery driver. Let's add a driver that implements a smart-battery-like interface. The 'battery' console command is also moved to battery.c so that it can be reused by different battery driver. BUG=chrome-os-partner:22048 TEST=Type 'battery' and check the reported values are sane. TEST=Check 'battery' command works fine on Spring. BRANCH=None Change-Id: I5d1eaeb3f801478f3b9473fd43c1f2a2eda75859 Signed-off-by: Vic Yang Reviewed-on: https://chromium-review.googlesource.com/66340 --- board/kirby/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/kirby') diff --git a/board/kirby/board.h b/board/kirby/board.h index 6215433ef9..7cd7c87218 100644 --- a/board/kirby/board.h +++ b/board/kirby/board.h @@ -9,6 +9,7 @@ #define __BOARD_H /* Optional features */ +#define CONFIG_BATTERY_BQ27541 #define CONFIG_CHARGER #define CONFIG_CHARGER_BQ24192 #define CONFIG_ADC -- cgit v1.2.1