diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/extpower.h | 8 | ||||
-rw-r--r-- | include/usb_pd.h | 6 |
2 files changed, 8 insertions, 6 deletions
diff --git a/include/extpower.h b/include/extpower.h index b2b57943ca..1e9f7976e6 100644 --- a/include/extpower.h +++ b/include/extpower.h @@ -8,9 +8,17 @@ #ifndef __CROS_EC_EXTPOWER_H #define __CROS_EC_EXTPOWER_H +#include "common.h" + enum gpio_signal; /* from gpio_signal.h */ /** + * Run board specific code to update extpower status. The default + * implementation does nothing, but a board may override it. + */ +__override_proto void board_check_extpower(void); + +/** * Return non-zero if external power is present. */ int extpower_is_present(void); diff --git a/include/usb_pd.h b/include/usb_pd.h index c0472e283b..ba29e04c86 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -3327,12 +3327,6 @@ __override_proto int svdm_tbt_compat_attention(int port, uint32_t *payload); __override_proto enum ec_pd_port_location board_get_pd_port_location(int port); -/** - * Can be called whenever VBUS presence changes. The default implementation - * does nothing, but a board may override it. - */ -__override_proto void board_vbus_present_change(void); - /**************************************************************************** * TCPC CC/Rp Management */ |