diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-07-10 14:05:54 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-14 22:39:36 +0000 |
commit | ac1cba419ab507163dcb6dc9d6be1401f3f1f518 (patch) | |
tree | 3bf00ed663cfb4fd5033bd954f343ef938250ce6 /board/oak/board.h | |
parent | 7015336ea81aa1d57b62088a792d1c13cbc25d57 (diff) | |
download | chrome-ec-ac1cba419ab507163dcb6dc9d6be1401f3f1f518.tar.gz |
cleanup: remove board_discharge_on_ac() unless custom func needed
Remove duplicate board_discharge_on_ac() functions and create
CONFIG_CHARGER_DISCHARGE_ON_AC_CUSTOM for boards that have a
unique implementation of board_discharge_on_ac().
BUG=chrome-os-partner:42294
BRANCH=none
TEST=make -j buildall.
load on samus and test 'ectool chargecontrol discharge' forces
discharging on AC, and 'ectool chargecontrol normal' resumes normal
charging.
Change-Id: I2b7c04b9278d07748d6d41798ceab1a7e90684e4
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/284911
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'board/oak/board.h')
-rw-r--r-- | board/oak/board.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/board/oak/board.h b/board/oak/board.h index 940aa87b3d..8200c81916 100644 --- a/board/oak/board.h +++ b/board/oak/board.h @@ -172,9 +172,6 @@ enum temp_sensor_id { #define PD_MAX_CURRENT_MA 3000 #define PD_MAX_VOLTAGE_MV 20000 -/* Discharge battery when on AC power for factory test. */ -int board_discharge_on_ac(int enable); - /* Reset PD MCU */ void board_reset_pd_mcu(void); |