summaryrefslogtreecommitdiff
path: root/board/host/board.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2014-08-08 10:59:17 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-10 06:07:11 +0000
commit0739074fbf735cffefdac7ff6d086084449f6493 (patch)
treedc4c7b0925762cf700c7bbcc48a7b541468d2978 /board/host/board.h
parente68bdb6eb5dc0f42347bf1db6f350ae173900d0c (diff)
downloadchrome-ec-0739074fbf735cffefdac7ff6d086084449f6493.tar.gz
Add unit test for usb_pd
Initial commit of usb_pd unit test. The test cases are very simple. We'll add more test cases in similar format. BUG=chrome-os-partner:31200 TEST=Pass usb_pd test BRANCH=None Change-Id: I9e3de5b2c032ee1d3670cde6d8227ce0378ae8a0 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/211643 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/host/board.h')
-rw-r--r--board/host/board.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/host/board.h b/board/host/board.h
index b8ce98513a..e2fb3fbb9a 100644
--- a/board/host/board.h
+++ b/board/host/board.h
@@ -16,6 +16,11 @@
#undef CONFIG_WATCHDOG
#define CONFIG_SWITCH
+#define CONFIG_USB_POWER_DELIVERY
+#define CONFIG_USB_PD_CUSTOM_VDM
+#define CONFIG_USB_PD_DUAL_ROLE
+#define CONFIG_SW_CRC
+
#undef CONFIG_CONSOLE_HISTORY
#define CONFIG_CONSOLE_HISTORY 4