summaryrefslogtreecommitdiff
path: root/board/zoombini/usb_pd_policy.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/zoombini/usb_pd_policy.c')
-rw-r--r--board/zoombini/usb_pd_policy.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/board/zoombini/usb_pd_policy.c b/board/zoombini/usb_pd_policy.c
index 6f035832f8..fe072875f2 100644
--- a/board/zoombini/usb_pd_policy.c
+++ b/board/zoombini/usb_pd_policy.c
@@ -126,16 +126,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)
-{
- struct charge_port_info charge;
-
- charge.current = max_ma;
- charge.voltage = supply_voltage;
- charge_manager_update_charge(CHARGE_SUPPLIER_PD, port, &charge);
-}
-
int pd_set_power_supply_ready(int port)
{
switch (port) {
@@ -181,16 +171,6 @@ void pd_transition_voltage(int idx)
/* No-operation: we are always 5V */
}
-void typec_set_input_current_limit(int port, uint32_t max_ma,
- uint32_t supply_voltage)
-{
- struct charge_port_info charge;
-
- charge.current = max_ma;
- charge.voltage = supply_voltage;
- charge_manager_update_charge(CHARGE_SUPPLIER_TYPEC, port, &charge);
-}
-
/* ----------------- Vendor Defined Messages ------------------ */
const struct svdm_response svdm_rsp = {
.identity = NULL,