summaryrefslogtreecommitdiff
path: root/board/coral
diff options
context:
space:
mode:
Diffstat (limited to 'board/coral')
-rw-r--r--board/coral/usb_pd_policy.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/board/coral/usb_pd_policy.c b/board/coral/usb_pd_policy.c
index 8aacbd0190..b6c3f07328 100644
--- a/board/coral/usb_pd_policy.c
+++ b/board/coral/usb_pd_policy.c
@@ -129,30 +129,6 @@ void pd_power_supply_reset(int port)
pd_send_host_event(PD_EVENT_POWER_CHANGE);
}
-void pd_set_input_current_limit(int port, uint32_t max_ma,
- uint32_t supply_voltage)
-{
-#ifdef CONFIG_CHARGE_MANAGER
- struct charge_port_info charge;
-
- charge.current = max_ma;
- charge.voltage = supply_voltage;
- charge_manager_update_charge(CHARGE_SUPPLIER_PD, port, &charge);
-#endif
-}
-
-void typec_set_input_current_limit(int port, uint32_t max_ma,
- uint32_t supply_voltage)
-{
-#ifdef CONFIG_CHARGE_MANAGER
- struct charge_port_info charge;
-
- charge.current = max_ma;
- charge.voltage = supply_voltage;
- charge_manager_update_charge(CHARGE_SUPPLIER_TYPEC, port, &charge);
-#endif
-}
-
int pd_board_checks(void)
{
return EC_SUCCESS;