diff options
Diffstat (limited to 'board/coachz/board.c')
-rw-r--r-- | board/coachz/board.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/coachz/board.c b/board/coachz/board.c index 740e97a284..6ebf0c4ab3 100644 --- a/board/coachz/board.c +++ b/board/coachz/board.c @@ -390,6 +390,15 @@ static void board_init(void) } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); +__overridable uint16_t board_get_ps8xxx_product_id(int port) +{ + /* Coachz board rev 2+ changes TCPC from 8805 to 8755*/ + if (system_get_board_version() < 2) + return PS8805_PRODUCT_ID; + + return PS8755_PRODUCT_ID; +} + void board_tcpc_init(void) { /* Only reset TCPC if not sysjump */ |