summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2022-04-22 16:51:03 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-29 07:14:23 +0000
commit7c7da59e13e244ccb00916a7b07148b58e1248a6 (patch)
tree2453d8a762d3922b0abda8b12a838fa02cde915f
parent87937af63afcf30551072c7967c5fcef4a4b9701 (diff)
downloadchrome-ec-7c7da59e13e244ccb00916a7b07148b58e1248a6.tar.gz
cherry: use board_rt1718s_pd_set_frs_enable instead
move the board_pd_set_frs_enable to board_rt1718s_pd_set_frs_enable. Let the driver handling FRS GPIO disabling rather than TCPM. BUG=none TEST=on cherry, test FRS works with 9V, 5V with several FRS hubs BRANCH=cherry Change-Id: Ie3856824aeebeca461acfae99b89e881224f5edb Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3602115 Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Eric Yilun Lin <yllin@google.com>
-rw-r--r--baseboard/cherry/baseboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/cherry/baseboard.c b/baseboard/cherry/baseboard.c
index d7ab72565a..388252dd7d 100644
--- a/baseboard/cherry/baseboard.c
+++ b/baseboard/cherry/baseboard.c
@@ -568,7 +568,7 @@ static void baseboard_init(void)
}
DECLARE_HOOK(HOOK_INIT, baseboard_init, HOOK_PRIO_DEFAULT - 1);
-__override int board_pd_set_frs_enable(int port, int enable)
+__override int board_rt1718s_set_frs_enable(int port, int enable)
{
if (port == 1)
/*