summaryrefslogtreecommitdiff
path: root/board/corori2/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/corori2/board.c')
-rw-r--r--board/corori2/board.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/board/corori2/board.c b/board/corori2/board.c
index efebc3af2e..e3103f65ff 100644
--- a/board/corori2/board.c
+++ b/board/corori2/board.c
@@ -454,19 +454,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)
-{
- int icl = MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT);
-
- /*
- * b/147463641: The charger IC seems to overdraw ~4%, therefore we
- * reduce our target accordingly.
- */
- icl = icl * 96 / 100;
- charge_set_input_current_limit(icl, charge_mv);
-}
-
__override void typec_set_source_current_limit(int port, enum tcpc_rp_value rp)
{
if (port < 0 || port > board_get_usb_pd_port_count())