soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / auron / variants / samus / board_version.c
blob1ee209d3d8abb380a8c9ba52dd43bd849128efeb
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:
13 return "EVT1";
14 case SAMUS_EC_BOARD_VERSION_EVT2:
15 return "EVT2";
16 case SAMUS_EC_BOARD_VERSION_EVT3:
17 return "EVT3";
18 case SAMUS_EC_BOARD_VERSION_EVT4:
19 return "EVT4";
20 default:
21 return "Unknown";