coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sku_id.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #include <boardid.h>
4 #include <baseboard/variants.h>
6 
8 {
10 }
11 
12 /* An unprovisioned SKU ID indicates we're in the factory booting prior to
13  proper SKU ID provisioning. */
15 {
16  return sku_id() == CROS_SKU_UNPROVISIONED;
17 }
#define CROS_SKU_UNPROVISIONED
Definition: ec.h:111
uint32_t google_chromeec_get_board_sku(void)
Definition: ec_skuid.c:6
uint32_t sku_id(void)
Definition: sku_id.c:7
int boot_is_factory_unprovisioned(void)
Definition: sku_id.c:14
unsigned int uint32_t
Definition: stdint.h:14