drivers/uart: Replace 'unsigned long int' by 'unsigned long'
[coreboot2.git] / src / ec / google / chromeec / ec_skuid.c
blobc0e079c5f06f0d725054795ca9abbe3505d8f012
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <ec/google/chromeec/ec.h>
5 uint32_t google_chromeec_get_board_sku(void)
7 static uint32_t sku_id = CROS_SKU_UNKNOWN;
9 if (sku_id != CROS_SKU_UNKNOWN)
10 return sku_id;
12 if (google_chromeec_cbi_get_sku_id(&sku_id))
13 sku_id = CROS_SKU_UNKNOWN;
15 return sku_id;