From 736db12af829d826f0a1247b6a787fcc56d2b060 Mon Sep 17 00:00:00 2001 From: Jett Rink Date: Tue, 31 Mar 2020 13:44:28 -0600 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2132871 --- test/fake_usbc.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'test/fake_usbc.c') diff --git a/test/fake_usbc.c b/test/fake_usbc.c index a096652020..e62fa5ac62 100644 --- a/test/fake_usbc.c +++ b/test/fake_usbc.c @@ -130,22 +130,11 @@ __overridable void pe_invalidate_explicit_contract(int port) { } -int pd_dev_store_rw_hash(int port, uint16_t dev_id, uint32_t *rw_hash, - uint32_t ec_image) -{ - return 0; -} - enum pd_dual_role_states pd_get_dual_role(int port) { return PD_DRP_TOGGLE_ON; } -void pd_dev_get_rw_hash(int port, uint16_t *dev_id, uint8_t *rw_hash, - uint32_t *current_image) -{ -} - int pd_comm_is_enabled(int port) { return 0; -- cgit v1.2.1