diff options
Diffstat (limited to 'board/reef_it8320')
-rw-r--r-- | board/reef_it8320/board.h | 1 | ||||
-rw-r--r-- | board/reef_it8320/usb_pd_policy.c | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/board/reef_it8320/board.h b/board/reef_it8320/board.h index 52ade2bbf7..487592b7e8 100644 --- a/board/reef_it8320/board.h +++ b/board/reef_it8320/board.h @@ -78,7 +78,6 @@ #define CONFIG_USB_PD_DUAL_ROLE #define CONFIG_USB_PD_DISCHARGE_GPIO #define CONFIG_USB_PD_LOGGING -#define CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT TYPEC_RP_3A0 #define CONFIG_USB_PD_PORT_MAX_COUNT 2 #define CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT 2 #define CONFIG_USB_PD_VBUS_DETECT_CHARGER diff --git a/board/reef_it8320/usb_pd_policy.c b/board/reef_it8320/usb_pd_policy.c index 87b9c8d42e..7fec6bc975 100644 --- a/board/reef_it8320/usb_pd_policy.c +++ b/board/reef_it8320/usb_pd_policy.c @@ -58,9 +58,6 @@ int pd_set_power_supply_ready(int port) /* Ensure we're not charging from this port */ bd9995x_select_input_port(port, 0); - /* Ensure we advertise the proper available current quota */ - charge_manager_source_port(port, 1); - pd_set_vbus_discharge(port, 0); /* Provide VBUS */ vbus_en[port] = 1; @@ -86,9 +83,6 @@ void pd_power_supply_reset(int port) if (prev_en) pd_set_vbus_discharge(port, 1); - /* Give back the current quota we are no longer using */ - charge_manager_source_port(port, 0); - /* notify host of power info change */ pd_send_host_event(PD_EVENT_POWER_CHANGE); } |