summaryrefslogtreecommitdiff
path: root/common/usb_pd_policy.c
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2020-03-31 13:44:28 -0600
committerJett Rink <jettrink@chromium.org>2020-04-03 17:06:28 +0000
commit736db12af829d826f0a1247b6a787fcc56d2b060 (patch)
tree044e90f6837e797f9f495cf005bfb1a4b35d1df7 /common/usb_pd_policy.c
parenta08de50a749ab4ec09ad2b7b32b1605f49d8a5c6 (diff)
downloadchrome-ec-736db12af829d826f0a1247b6a787fcc56d2b060.tar.gz
tcpmv2: move function from TC layer to PE
- Move pd_ function that belong in PE layer to PE layer. Remove the extra pe_ layer. - Remove unnecessary PE and Vconn ifdef guards in TC layer - Remove unused print_dev_info function - Move host commands in TC layer to host command file - Move RW hash stuff from TC to PE, since this only has to do with VDO (Which is a PE layer thing) - Removed dependency for tc_drp test on usbc_fake as we don't really need it anymore once we don't pull in the PRL and PE layers anymore (based on previously landed CLs) BRANCH=none BUG=b:153071799 TEST=everything still builds and passes tests Change-Id: Id1d1efa291c3525f57bc26af9fddda6ddace1b58 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2132871
Diffstat (limited to 'common/usb_pd_policy.c')
-rw-r--r--common/usb_pd_policy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/usb_pd_policy.c b/common/usb_pd_policy.c
index 6cb69f5bc5..87d1c47a20 100644
--- a/common/usb_pd_policy.c
+++ b/common/usb_pd_policy.c
@@ -45,12 +45,6 @@ static int dp_alt_mode_entry_get_next_event(uint8_t *data)
}
DECLARE_EVENT_SOURCE(EC_MKBP_EVENT_DP_ALT_MODE_ENTERED,
dp_alt_mode_entry_get_next_event);
-
-void pd_notify_dp_alt_mode_entry(void)
-{
- CPRINTS("Notifying AP of DP Alt Mode Entry...");
- mkbp_send_event(EC_MKBP_EVENT_DP_ALT_MODE_ENTERED);
-}
#endif /* CONFIG_MKBP_EVENT */
#ifdef CONFIG_USB_PD_DUAL_ROLE