diff options
author | Benson Leung <bleung@chromium.org> | 2019-12-12 10:18:45 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-12 21:09:21 +0000 |
commit | 8c3f625e104a9ae8fd44f42974f256690cf28f7f (patch) | |
tree | 41a823c3296a055725d9800369a7a29e5c048564 /test | |
parent | 18cb44fec23ed2c90d9f3b6e147ffbc326ffedca (diff) | |
download | chrome-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 'test')
-rw-r--r-- | test/fake_usbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fake_usbc.c b/test/fake_usbc.c index d074876f6f..aab7f0a7ed 100644 --- a/test/fake_usbc.c +++ b/test/fake_usbc.c @@ -88,7 +88,7 @@ void tc_partner_dr_data(int port, int en) void tc_partner_dr_power(int port, int en) {} -void tc_partner_extpower(int port, int en) +void tc_partner_unconstrainedpower(int port, int en) {} void tc_partner_usb_comm(int port, int en) |