summaryrefslogtreecommitdiff
path: root/board/zinger/board.h
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2014-10-02 10:07:37 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-10-07 05:53:13 +0000
commitd5d2a71c96438a5d545d2fb71f10678409f93c9e (patch)
tree8d710c74fa60d6fde9cca2697aab07d9c66bc226 /board/zinger/board.h
parentc817472c07cd99ec37886bd2ff7eddcc4d3e7568 (diff)
downloadchrome-ec-d5d2a71c96438a5d545d2fb71f10678409f93c9e.tar.gz
pd: zinger: move sending info VDM from UFP to DFP
Changed sending of info VDM from the UFP side in SNK_DISCONNECTED to the DFP side in SRC_READY to match the PD spec. Only the DFP is supposed to send VDMs, and by default the power source is the DFP. This affects simple DFPs such as power adapters, they must initiate the info VDM once a power contract has been negotiated. BUG=none BRANCH=samus TEST=load onto samus_pd and zinger and make sure that when you attached zinger to samus, samus receives info VDM and prints out something like: VDM/7 [11] 18d1000b Dev:1 SW:2280 RW:0 Change-Id: I16ceac31939fdc1c74be7323e628dd8706e1283b Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/221174 Reviewed-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'board/zinger/board.h')
-rw-r--r--board/zinger/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/zinger/board.h b/board/zinger/board.h
index e7e31232a0..93b7379d37 100644
--- a/board/zinger/board.h
+++ b/board/zinger/board.h
@@ -19,10 +19,11 @@
/* Optional features */
#define CONFIG_USB_POWER_DELIVERY
+#define CONFIG_USB_PD_CUSTOM_VDM
#undef CONFIG_USB_PD_DUAL_ROLE
#undef CONFIG_USB_PD_INTERNAL_COMP
-#define CONFIG_USB_PD_CUSTOM_VDM
#undef CONFIG_USB_PD_RX_COMP_IRQ
+#define CONFIG_USB_PD_SIMPLE_DFP
#define CONFIG_HW_CRC
#define CONFIG_RSA
#define CONFIG_SHA256