summaryrefslogtreecommitdiff
path: root/test/fake_usbc.c
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2020-01-17 12:51:28 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-24 09:23:34 +0000
commit07fd9cc41e3aba4eb3e82f50d03d9ff738ced2b3 (patch)
tree40c458b04c287ac2f3af366392141d66c21bf4c7 /test/fake_usbc.c
parent1a7e28d8d7c0539dd4a29d10932a8a4b802d36e9 (diff)
downloadchrome-ec-07fd9cc41e3aba4eb3e82f50d03d9ff738ced2b3.tar.gz
TCPMv1/v2: Move EC_CMD_USB_PD_DEV_INFO host command to common file
BUG=b:142911453 BRANCH=none TEST=make buildall -j Change-Id: If9d902ef77da7d56a123c0c78b1ebbcd0d95bc3b Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2008301 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'test/fake_usbc.c')
-rw-r--r--test/fake_usbc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/fake_usbc.c b/test/fake_usbc.c
index d1c111701e..6953d07190 100644
--- a/test/fake_usbc.c
+++ b/test/fake_usbc.c
@@ -136,3 +136,8 @@ 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)
+{
+}