summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-30 16:52:10 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-07 06:01:56 +0000
commit4386826003d238fea76eb449977fc7d50a51306d (patch)
treea49ebe973f477d5313e683a1a43565fa99fba725 /test
parentadab8866aa7e895ea95d335120c9e6253836a179 (diff)
downloadchrome-ec-4386826003d238fea76eb449977fc7d50a51306d.tar.gz
Move tcpic.h header into include/driver
This header cannot currently be accessed by Zephyr since it is in a driver directory, not an include directory. This header has quite a bit of public stuff in it, so it seems reasonable to consider everything public. Move the header file and update all users. BUG=b:175434113 BRANCH=none TEST=make buildall -j30 build volteer on zephyr Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: Ibba37f47a06783fafb5095f853f2a68d92b6df87 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2607745
Diffstat (limited to 'test')
-rw-r--r--test/usb_prl.c2
-rw-r--r--test/usb_tcpmv2_compliance_common.c2
-rw-r--r--test/usb_tcpmv2_td_pd_ll_e3.c2
-rw-r--r--test/usb_tcpmv2_td_pd_ll_e4.c2
-rw-r--r--test/usb_tcpmv2_td_pd_ll_e5.c2
-rw-r--r--test/usb_tcpmv2_td_pd_other.c2
-rw-r--r--test/usb_tcpmv2_td_pd_snk3_e12.c2
-rw-r--r--test/usb_tcpmv2_td_pd_src3_e1.c2
-rw-r--r--test/usb_tcpmv2_td_pd_src3_e26.c2
-rw-r--r--test/usb_tcpmv2_td_pd_src_e1.c2
-rw-r--r--test/usb_tcpmv2_td_pd_src_e2.c2
-rw-r--r--test/usb_tcpmv2_td_pd_src_e5.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/test/usb_prl.c b/test/usb_prl.c
index 96bd045949..42bbac4b6d 100644
--- a/test/usb_prl.c
+++ b/test/usb_prl.c
@@ -10,7 +10,7 @@
#include "mock/usb_pe_sm_mock.h"
#include "mock/usb_tc_sm_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "tcpm/tcpm.h"
#include "test_util.h"
#include "timer.h"
diff --git a/test/usb_tcpmv2_compliance_common.c b/test/usb_tcpmv2_compliance_common.c
index 5add250e9f..50ebd36aaa 100644
--- a/test/usb_tcpmv2_compliance_common.c
+++ b/test/usb_tcpmv2_compliance_common.c
@@ -7,7 +7,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "mock/usb_mux_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_ll_e3.c b/test/usb_tcpmv2_td_pd_ll_e3.c
index 8989d8a9c7..153f32dc4f 100644
--- a/test/usb_tcpmv2_td_pd_ll_e3.c
+++ b/test/usb_tcpmv2_td_pd_ll_e3.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_ll_e4.c b/test/usb_tcpmv2_td_pd_ll_e4.c
index caf08a04df..24f4af862c 100644
--- a/test/usb_tcpmv2_td_pd_ll_e4.c
+++ b/test/usb_tcpmv2_td_pd_ll_e4.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_ll_e5.c b/test/usb_tcpmv2_td_pd_ll_e5.c
index 31664634b2..991b044636 100644
--- a/test/usb_tcpmv2_td_pd_ll_e5.c
+++ b/test/usb_tcpmv2_td_pd_ll_e5.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_other.c b/test/usb_tcpmv2_td_pd_other.c
index 1b2486b6f2..17829030ea 100644
--- a/test/usb_tcpmv2_td_pd_other.c
+++ b/test/usb_tcpmv2_td_pd_other.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_snk3_e12.c b/test/usb_tcpmv2_td_pd_snk3_e12.c
index e712e0d209..a55438d49a 100644
--- a/test/usb_tcpmv2_td_pd_snk3_e12.c
+++ b/test/usb_tcpmv2_td_pd_snk3_e12.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_src3_e1.c b/test/usb_tcpmv2_td_pd_src3_e1.c
index 8e2cb3721e..2f9184f089 100644
--- a/test/usb_tcpmv2_td_pd_src3_e1.c
+++ b/test/usb_tcpmv2_td_pd_src3_e1.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_src3_e26.c b/test/usb_tcpmv2_td_pd_src3_e26.c
index 48b6284dc2..5e899ef9b6 100644
--- a/test/usb_tcpmv2_td_pd_src3_e26.c
+++ b/test/usb_tcpmv2_td_pd_src3_e26.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_src_e1.c b/test/usb_tcpmv2_td_pd_src_e1.c
index 06ca702b79..90204a6106 100644
--- a/test/usb_tcpmv2_td_pd_src_e1.c
+++ b/test/usb_tcpmv2_td_pd_src_e1.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_src_e2.c b/test/usb_tcpmv2_td_pd_src_e2.c
index 69b47023ce..c4a1d7780b 100644
--- a/test/usb_tcpmv2_td_pd_src_e2.c
+++ b/test/usb_tcpmv2_td_pd_src_e2.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"
diff --git a/test/usb_tcpmv2_td_pd_src_e5.c b/test/usb_tcpmv2_td_pd_src_e5.c
index 62c316ba9d..3da7c843b2 100644
--- a/test/usb_tcpmv2_td_pd_src_e5.c
+++ b/test/usb_tcpmv2_td_pd_src_e5.c
@@ -5,7 +5,7 @@
#include "mock/tcpci_i2c_mock.h"
#include "task.h"
-#include "tcpci.h"
+#include "tcpm/tcpci.h"
#include "test_util.h"
#include "timer.h"
#include "usb_tcpmv2_compliance.h"