diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-08-11 16:21:41 +0000 |
---|---|---|
committer | Prathmesh Prabhu <pprabhu@chromium.org> | 2014-08-11 16:24:08 +0000 |
commit | b2a426efaf7000ce6ed9074ef6c1000c694b82f6 (patch) | |
tree | f86920224fa6a07db69c5430df15f31e98833be9 /board/host/usb_pd_config.c | |
parent | 5ab558117d1953490140b20dea98fac30bbfff06 (diff) | |
download | chrome-ec-b2a426efaf7000ce6ed9074ef6c1000c694b82f6.tar.gz |
Revert "Add unit test for usb_pd"
This reverts commit 0739074fbf735cffefdac7ff6d086084449f6493.
Change-Id: I1889138e5a8d5bc22d3bac2e48afe6378a59542a
Reviewed-on: https://chromium-review.googlesource.com/211773
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Diffstat (limited to 'board/host/usb_pd_config.c')
-rw-r--r-- | board/host/usb_pd_config.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/board/host/usb_pd_config.c b/board/host/usb_pd_config.c deleted file mode 100644 index aec495a0c9..0000000000 --- a/board/host/usb_pd_config.c +++ /dev/null @@ -1,35 +0,0 @@ -/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -/* USB Power delivery board configuration */ - -#include "test_util.h" - -test_mockable void pd_select_polarity(int port, int polarity) -{ - /* Not implemented */ -} - -test_mockable void pd_tx_init(void) -{ - /* Not implemented */ -} - -test_mockable void pd_set_host_mode(int port, int enable) -{ - /* Not implemented */ -} - -test_mockable int pd_adc_read(int port, int cc) -{ - /* Not implemented */ - return 0; -} - -test_mockable int pd_snk_is_vbus_provided(int port) -{ - /* Not implemented */ - return 1; -} |