eve: Adjust charging parameters for eve board
Limit max input current to 95% for safety.
(changes ported from reef)
BRANCH=none
TEST=manual testing on Eve P1b board
@@ -487,6 +487,7 @@ void board_set_charge_limit(int port, int supplier, int charge_ma,
if (bd9995x_bc12_enable_charging(port, bc12_enable))
return;
+ charge_ma = (charge_ma * 95) / 100;
charge_set_input_current_limit(MAX(charge_ma,
CONFIG_CHARGER_INPUT_CURRENT), charge_mv);
}
