summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2020-01-17 11:23:58 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-24 09:23:32 +0000
commitb7e9d202eb32d769962b3fe12c9c1ca745a8ee64 (patch)
tree99ce8dba4b720772171c92e5286809faec2db178 /test
parenta00bf6d576a993f36c0f8fce4c9764b6cfbc430d (diff)
downloadchrome-ec-b7e9d202eb32d769962b3fe12c9c1ca745a8ee64.tar.gz
TCPMv1/v2: Move EC_CMD_PD_CHIP_INFO host command to common file
BUG=b:142911453 BRANCH=none TEST=make buildall -j Change-Id: Ia858db061811c58a14b2525d17d6abdc35ea6fa7 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2008299 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/usb_pe_drp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/usb_pe_drp.c b/test/usb_pe_drp.c
index e8167cc1ac..76c93e9600 100644
--- a/test/usb_pe_drp.c
+++ b/test/usb_pe_drp.c
@@ -25,6 +25,8 @@ const struct svdm_response svdm_rsp = {
.modes = NULL,
};
+const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT];
+
int board_vbus_source_enabled(int port)
{
return 0;