summaryrefslogtreecommitdiff
path: root/board/taniks/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/taniks/board.c')
-rw-r--r--board/taniks/board.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/board/taniks/board.c b/board/taniks/board.c
index 5da998524b..f8501d761b 100644
--- a/board/taniks/board.c
+++ b/board/taniks/board.c
@@ -115,16 +115,3 @@ enum battery_present battery_hw_present(void)
/* The GPIO is low when the battery is physically present */
return gpio_get_level(GPIO_EC_BATT_PRES_ODL) ? BP_NO : BP_YES;
}
-
-__override void board_set_charge_limit(int port, int supplier, int charge_ma,
- int max_ma, int charge_mv)
-{
- /*
- * Follow OEM request to limit the input current to
- * 95% negotiated limit.
- */
- charge_ma = charge_ma * 95 / 100;
-
- charge_set_input_current_limit(
- MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT), charge_mv);
-}