summaryrefslogtreecommitdiff
path: root/board/voxel
diff options
context:
space:
mode:
authorli feng <li1.feng@intel.com>2021-01-26 21:03:56 -0800
committerCommit Bot <commit-bot@chromium.org>2021-02-05 17:54:00 +0000
commitf529543ee11ef105b904deaba9c7a8c0f5d76454 (patch)
treea2db787c00aaf676641d6c30e5f9445e8f04711d /board/voxel
parent8ef0b2b959ef21d66ca450a31f633fc1f9dfd32f (diff)
downloadchrome-ec-f529543ee11ef105b904deaba9c7a8c0f5d76454.tar.gz
retimer: PD port retimer firmware update support
Added one field to struct usb_mux_driver, which returns true if retimer update is supported. Moved query function from usb_retimer_fw_update.c to usb_mux.c. BUG=b:162528867 BRANCH=none TEST=Tested on Voxel, together with related coreboot and kernel changes. EC returns correct port information to kernel. Signed-off-by: li feng <li1.feng@intel.com> Change-Id: I5cab34a14adbf0470cffe6a13234ad53b6f6a90c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2651866 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/voxel')
-rw-r--r--board/voxel/board.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/board/voxel/board.c b/board/voxel/board.c
index 6edea86fcc..ef392b5afd 100644
--- a/board/voxel/board.c
+++ b/board/voxel/board.c
@@ -455,12 +455,6 @@ static void board_tcpc_init(void)
}
DECLARE_HOOK(HOOK_INIT, board_tcpc_init, HOOK_PRIO_INIT_CHIPSET);
-__override int usb_retimer_fw_update_query_port(void)
-{
- /* Both USBC_PORT_C0 and USBC_PORT_C1 have burnside bridge retimer */
- return BIT(1) | BIT(0);
-}
-
/******************************************************************************/
/* TCPC support routines */
uint16_t tcpc_get_alert_status(void)