diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-10-04 12:38:18 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-10-07 18:30:50 +0000 |
commit | 99157c265c8353e166059e17d250d9991d4e7ae0 (patch) | |
tree | 386a582966b8b34afa652602a21eec6e6feab931 /board/host/build.mk | |
parent | 90a6676ad531fd8c53e6398050f8093a921245fc (diff) | |
download | chrome-ec-99157c265c8353e166059e17d250d9991d4e7ae0.tar.gz |
cleanup: Battery header files and filenames
battery.h is the high-level interface. battery_smart.h is the
low-level interface. Most things don't need the low-level interface,
but were including smart_battery.h solely to get at battery.h. Fixed
this. Also merged battery_pack.h into battery.h, since it was odd to
split that data across multiple header files. Tidied the function
comments in battery.h as well.
No functional changes, just renaming files and adding comments.
BUG=chrome-os-partner:18343
BRANCH=none
TEST=build all boards; pass unit tests
Change-Id: I5ef372f0a5f8f5f36e09a3a1ce24008685c1fd0d
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/171967
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'board/host/build.mk')
-rw-r--r-- | board/host/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/host/build.mk b/board/host/build.mk index 42cd2f61b9..21e5383d86 100644 --- a/board/host/build.mk +++ b/board/host/build.mk @@ -10,4 +10,4 @@ CHIP:=host board-y=board.o board-$(HAS_TASK_CHIPSET)+=chipset.o -board-$(CONFIG_BATTERY_MOCK)+=smart_battery.o charger.o +board-$(CONFIG_BATTERY_MOCK)+=battery.o charger.o |