summaryrefslogtreecommitdiff
path: root/board/dalboz
diff options
context:
space:
mode:
authorEric Herrmann <eherrmann@chromium.org>2020-07-07 13:11:07 -0700
committerCommit Bot <commit-bot@chromium.org>2020-07-17 02:22:06 +0000
commitc30291b716c54d94ef648e22df2c107ebfcb6139 (patch)
treefcbdb53636d3c848d1c0e5b736ee8e882846e9cd /board/dalboz
parentc1284dc1da4aa6865d4375a67abf6b2f8d3d2219 (diff)
downloadchrome-ec-c30291b716c54d94ef648e22df2c107ebfcb6139.tar.gz
USB PD: Move board FRS configuration out of TCPCI
Board FRS configuration is more board-specific than TCPC-specific. Move the board FRS configuration from TCPCI to usb_common. Implementing the board-level frs configuration is optional for each project. BUG=b:148144711 TEST=Can build volteer image with CONFIG_USB_PD_TCPC set BRANCH=none Change-Id: I43d13ec0b23f71273807f58db35e7dd333089efa Signed-off-by: Eric Herrmann <eherrmann@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2290838 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/dalboz')
-rw-r--r--board/dalboz/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/dalboz/board.c b/board/dalboz/board.c
index b15f078f5a..462cd4bc4b 100644
--- a/board/dalboz/board.c
+++ b/board/dalboz/board.c
@@ -490,7 +490,7 @@ void bc12_interrupt(enum gpio_signal signal)
}
}
-int board_tcpc_fast_role_swap_enable(int port, int enable)
+int board_pd_set_frs_enable(int port, int enable)
{
int rv = EC_SUCCESS;