summaryrefslogtreecommitdiff
path: root/board/baklava
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2021-03-16 07:22:25 -0700
committerCommit Bot <commit-bot@chromium.org>2021-04-15 18:24:31 +0000
commite721551bbbdf0eb0edf107f57efd49577a6f8d88 (patch)
tree5f824fc4641528b54dd85480503328b118f28261 /board/baklava
parent654e8de3ae38ba76bbec24167899f9f90c1f1fab (diff)
downloadchrome-ec-e721551bbbdf0eb0edf107f57efd49577a6f8d88.tar.gz
honeybuns: Allow for board specific mf preference
This CL enables a given board to have its own policy regarding the mf preference bit which is used by a UFP to signal its preferred pin configuration in the DP Status message. BUG=b:175434634 BRANCH=None TEST=Verfied that the mf bit in the DP status message follows the board preference. Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: Ied7cdb72d1e302aab25dd5531856b1c7c148e64f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2765422 Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/baklava')
-rw-r--r--board/baklava/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/baklava/board.c b/board/baklava/board.c
index dbabeefbc6..158fefc416 100644
--- a/board/baklava/board.c
+++ b/board/baklava/board.c
@@ -289,6 +289,11 @@ void board_overcurrent_event(int port, int is_overcurrented)
{
/* TODO(b/174825406): check correct operation for honeybuns */
}
+
+int dock_get_mf_preference(void)
+{
+ return MF_ON;
+}
#endif /* SECTION_IS_RW */
static void board_init(void)