1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <ec/google/chromeec/ec.h>
6 uint32_t board_id(void)
8 static uint32_t id
= BOARD_ID_INIT
;
10 if (id
== BOARD_ID_INIT
) {
11 if (google_chromeec_get_board_version(&id
))
12 id
= BOARD_ID_UNKNOWN
;