diff options
Diffstat (limited to 'board/kohaku')
-rw-r--r-- | board/kohaku/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/kohaku/board.c b/board/kohaku/board.c index 1cd8021e13..e2711433fc 100644 --- a/board/kohaku/board.c +++ b/board/kohaku/board.c @@ -465,3 +465,10 @@ void board_overcurrent_event(int port, int is_overcurrented) /* Note that the level is inverted because the pin is active low. */ gpio_set_level(GPIO_USB_C_OC_ODL, !is_overcurrented); } + +bool board_is_convertible(void) +{ + const uint8_t sku = get_board_sku(); + + return (sku == 255) || (sku == 1); +} |