diff options
Diffstat (limited to 'board/poppy/usb_pd_policy.c')
-rw-r--r-- | board/poppy/usb_pd_policy.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/board/poppy/usb_pd_policy.c b/board/poppy/usb_pd_policy.c index cf4be4c61a..bb1920c6db 100644 --- a/board/poppy/usb_pd_policy.c +++ b/board/poppy/usb_pd_policy.c @@ -154,30 +154,6 @@ int pd_snk_is_vbus_provided(int port) GPIO_USB_C0_VBUS_WAKE_L); } -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; |