drivers/uart: Replace 'unsigned long int' by 'unsigned long'
[coreboot2.git] / src / ec / google / chromeec / ec_boardid.c
blobd728324272933febc4532e67862a1322c8847432
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <boardid.h>
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;
15 return id;