diff options
author | Jett Rink <jettrink@chromium.org> | 2020-03-31 13:44:28 -0600 |
---|---|---|
committer | Jett Rink <jettrink@chromium.org> | 2020-04-03 17:06:28 +0000 |
commit | 736db12af829d826f0a1247b6a787fcc56d2b060 (patch) | |
tree | 044e90f6837e797f9f495cf005bfb1a4b35d1df7 /include/usb_pe_sm.h | |
parent | a08de50a749ab4ec09ad2b7b32b1605f49d8a5c6 (diff) | |
download | chrome-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 'include/usb_pe_sm.h')
-rw-r--r-- | include/usb_pe_sm.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/usb_pe_sm.h b/include/usb_pe_sm.h index 2a9d466b2e..bfa6f3012f 100644 --- a/include/usb_pe_sm.h +++ b/include/usb_pe_sm.h @@ -98,13 +98,6 @@ void pe_got_soft_reset(int port); void pe_hard_reset_sent(int port); /** - * Informs the Policy Engine that a Fast Role Swap signal was detected - * - * @param port USB-C port number - */ -void pe_got_frs_signal(int port); - -/** * Exit DP mode * * @param port USB-C port number @@ -141,18 +134,6 @@ void pe_ps_reset_complete(int port); void pe_vconn_swap_complete(int port); /** - * Instructs the Policy Engine to send a Vendor Defined Message - * - * @param port USB-C port number - * @param vid Vendor ID - * @param cmd Vendor Defined Command - * @param data Vendor Defined Data - * @param count Size of Vendor Defined Data in 32-bit objects - */ -void pe_send_vdm(int port, uint32_t vid, int cmd, const uint32_t *data, - int count); - -/** * Indicates if an explicit contract is in place * * @param port USB-C port number |