mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
pd: Remove BMC support bit from message header.
Initial versions of the USB Power Delivery (v0.7) had this bit defined but in later versions its been removed and should be zero. BRANCH=samus BUG=none TEST=manual, capture message header with twinkie and see that message header <15> is no longer asserted. Change-Id: Ib3e099322b681a49a75b07e1ff929083c71eb44a Signed-off-by: Todd Broch <tbroch@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/227421 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Alec Berg <alecaberg@chromium.org> Tested-by: Alec Berg <alecaberg@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
d92b5b61f7
commit
c557a283bb
@@ -580,9 +580,6 @@ enum pd_data_msg_type {
|
||||
#define PD_REV10 0
|
||||
#define PD_REV20 1
|
||||
|
||||
/* BMC-supported bit : we are using the baseband variant of the protocol */
|
||||
#define PD_BMC_SUPPORTED (1 << 15)
|
||||
|
||||
/* Port role */
|
||||
#define PD_ROLE_SINK 0
|
||||
#define PD_ROLE_SOURCE 1
|
||||
@@ -594,8 +591,7 @@ enum pd_data_msg_type {
|
||||
#define PD_HEADER(type, prole, drole, id, cnt) \
|
||||
((type) | (PD_REV20 << 6) | \
|
||||
((drole) << 5) | ((prole) << 8) | \
|
||||
((id) << 9) | ((cnt) << 12) | \
|
||||
PD_BMC_SUPPORTED)
|
||||
((id) << 9) | ((cnt) << 12))
|
||||
|
||||
#define PD_HEADER_CNT(header) (((header) >> 12) & 7)
|
||||
#define PD_HEADER_TYPE(header) ((header) & 0xF)
|
||||
|
||||
Reference in New Issue
Block a user