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 /test/fake_usbc.c | |
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 'test/fake_usbc.c')
-rw-r--r-- | test/fake_usbc.c | 11 |
1 files changed, 0 insertions, 11 deletions
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; |