summaryrefslogtreecommitdiff
path: root/board/mushu/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mushu/board.c')
-rw-r--r--board/mushu/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/mushu/board.c b/board/mushu/board.c
index 27d1ab4002..4670c2bb0f 100644
--- a/board/mushu/board.c
+++ b/board/mushu/board.c
@@ -490,3 +490,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);
+}