diff options
Diffstat (limited to 'board/vell/charger.c')
-rw-r--r-- | board/vell/charger.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/vell/charger.c b/board/vell/charger.c index e33a0ed44a..53b14381cd 100644 --- a/board/vell/charger.c +++ b/board/vell/charger.c @@ -81,18 +81,6 @@ int board_set_active_charge_port(int port) return EC_SUCCESS; } -void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma, - int charge_mv) -{ - /* - * Limit the input current to 96% negotiated limit, - * to account for the charger chip margin. - */ - charge_ma = charge_ma * 96 / 100; - charge_set_input_current_limit( - MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT), charge_mv); -} - static void set_ac_prochot(void) { isl9241_set_ac_prochot(CHARGER_SOLO, PD_MAX_CURRENT_MA); |