1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <ec/google/chromeec/ec.h>
4 #include <variant/board_version.h>
6 const char *samus_board_version(void)
8 uint32_t board_version
= SAMUS_EC_BOARD_VERSION_UNKNOWN
;
10 google_chromeec_get_board_version(&board_version
);
11 switch (board_version
) {
12 case SAMUS_EC_BOARD_VERSION_EVT1
:
14 case SAMUS_EC_BOARD_VERSION_EVT2
:
16 case SAMUS_EC_BOARD_VERSION_EVT3
:
18 case SAMUS_EC_BOARD_VERSION_EVT4
: