mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / zork / sku_id.c
blob82ee355084dca5c100e4aa857dce8868bb8c1834
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <boardid.h>
4 #include <baseboard/variants.h>
5 #include <ec/google/chromeec/ec.h>
7 uint32_t sku_id(void)
9 return google_chromeec_get_board_sku();
12 /* An unprovisioned SKU ID indicates we're in the factory booting prior to
13 proper SKU ID provisioning. */
14 int boot_is_factory_unprovisioned(void)
16 return sku_id() == CROS_SKU_UNPROVISIONED;