diff options
author | Caveh Jalali <caveh@chromium.org> | 2021-06-10 14:17:33 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-11 21:20:39 +0000 |
commit | c1da363a46b718f12089189f0dab30172d33105a (patch) | |
tree | 43e2f452023eb994fa201302f12544ace246bf9f /common/fmap.c | |
parent | 4a46ad60f03301f0184df4a0f977b02cfeb3a1f7 (diff) | |
download | chrome-ec-c1da363a46b718f12089189f0dab30172d33105a.tar.gz |
common/usbc: Allow boards to determine DTS (CCD) port
This adds support for a board specific function to determine if a
particular port supports DTS (Debug and Test System) - more commonly
known as the CCD port. Typically, only one port supports CCD and we
should not enter debug accessory mode on non-CCD ports.
The default implementation simply returns true which is equivalent to
the original behavior. Boards can override board_is_dts_port() to limit
entering debug accessory mode to specific ports.
BRANCH=none
BUG=b:188851792
TEST=buildall passes
Change-Id: I10ad3cbed68478b23379b5f7ec6eff6ebae11084
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2954196
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common/fmap.c')
0 files changed, 0 insertions, 0 deletions