summaryrefslogtreecommitdiff
path: root/board/coffeecake
diff options
context:
space:
mode:
authorBenson Leung <bleung@chromium.org>2019-12-12 10:18:45 -0800
committerCommit Bot <commit-bot@chromium.org>2019-12-12 21:09:21 +0000
commit8c3f625e104a9ae8fd44f42974f256690cf28f7f (patch)
tree41a823c3296a055725d9800369a7a29e5c048564 /board/coffeecake
parent18cb44fec23ed2c90d9f3b6e147ffbc326ffedca (diff)
downloadchrome-ec-8c3f625e104a9ae8fd44f42974f256690cf28f7f.tar.gz
usb_pd: Rename "Externally powered" to "Unconstrained Power"
This was changed in PD 2.0 years ago (via ECN authored by our own David Schneider), but our codebase still refers to BIT 27 of the Fixed PDO as "Externally powered" instead of "Unconstrained Power". This will search and replace all instances of "Externally powered" when it refers to BIT 27, as well as function names, other internal representations of that property, strings, and comments. seds: s/PD_FLAGS_PARTNER_EXTPOWER/PD_FLAGS_PARTNER_UNCONSTR/g s/partner_extpower/partner_unconstrained/g s/externally powered/unconstrained/g Some others too. Signed-off-by: Benson Leung <bleung@chromium.org> BUG=chromium:1030990 TEST=Codebase builds clean. No functional change, except for the property shows up in ectool as "Unconstrained power" now. Change-Id: I5ececa03f29eb31057be3d0ad5311117093bc6da Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1956147 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Benson Leung <bleung@google.com> Tested-by: Benson Leung <bleung@google.com>
Diffstat (limited to 'board/coffeecake')
-rw-r--r--board/coffeecake/usb_pd_policy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/coffeecake/usb_pd_policy.c b/board/coffeecake/usb_pd_policy.c
index 660e45e90e..89f6bd28ad 100644
--- a/board/coffeecake/usb_pd_policy.c
+++ b/board/coffeecake/usb_pd_policy.c
@@ -24,7 +24,7 @@
#define CPRINTS(format, args...) cprints(CC_USBPD, format, ## args)
#define PDO_FIXED_FLAGS_EXT (PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP |\
- PDO_FIXED_COMM_CAP | PDO_FIXED_EXTERNAL)
+ PDO_FIXED_COMM_CAP | PDO_FIXED_UNCONSTRAINED)
#define PDO_FIXED_FLAGS (PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP |\
PDO_FIXED_COMM_CAP)