diff options
author | Robert Zieba <robertzieba@google.com> | 2022-08-19 09:16:37 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-25 16:29:22 +0000 |
commit | 0b72d42bdb77a86069c01078a5a4eeaab86b4767 (patch) | |
tree | 7c7dd68e8cd47b4e8c2ae47790b20021db68d253 /include | |
parent | 4ee1202f2e05409056aedb302e8bac6191e8eb9d (diff) | |
download | chrome-ec-0b72d42bdb77a86069c01078a5a4eeaab86b4767.tar.gz |
driver/usb_mux: Rename and move `USB_MUX_ALL_CHIPS`
This commit moves the `USB_MUX_ALL_CHIPS` define into ec_commands.h and
renames it to `TYPEC_USB_MUX_SET_ALL_CHIPS` so that it can be used by
external code.
BRANCH=none
BUG=b:228223774
TEST=Built and ran EC on nipperkin device
Change-Id: I9363bb8c80bd949a90dc3e6834c604b7b2244e2d
Signed-off-by: Robert Zieba <robertzieba@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3842198
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index bab993f960..4f30a0f308 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -6769,6 +6769,8 @@ enum typec_tbt_ufp_reply { TYPEC_TBT_UFP_REPLY_ACK, }; +#define TYPEC_USB_MUX_SET_ALL_CHIPS 0xFF + struct typec_usb_mux_set { /* Index of the mux to set in the chain */ uint8_t mux_index; |