1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <ec/google/chromeec/ec.h>
5 #include <baseboard/variants.h>
6 #include <drivers/intel/gma/opregion.h>
8 #define SKU_UNKNOWN 0xFFFFFFFF
11 SKU_33_BLOOG
= 33, /* no kb blit, USI Stylus */
12 SKU_34_BLOOG
= 34, /* kb blit, no USI Stylus */
13 SKU_35_BLOOG
= 35, /* kb blit, USI Stylus */
14 SKU_36_BLOOG
= 36, /* no kb blit, no USI Stylus */
15 SKU_49_BLOOGUARD
= 49, /* kb blit, no USI Stylus */
16 SKU_50_BLOOGUARD
= 50, /* kb blit, USI Stylus */
17 SKU_51_BLOOGUARD
= 51, /* no kb blit, no USI Stylus */
18 SKU_52_BLOOGUARD
= 52, /* no kb blit, USI Stylus */
19 SKU_53_BIPSHIP
= 53, /* no kb blit, TS, 360, no Stylus, no rare-cam */
20 SKU_54_BIPSHIP
= 54, /* kb blit, TS, 360, no Stylus, no rare-cam */
21 SKU_65_BLOOGLET
= 65, /* TS, kb blit */
22 SKU_66_BLOOGLET
= 66, /* TS, no kb blit */
23 SKU_67_BLOOGLET
= 67, /* non-TS, kb blit */
24 SKU_68_BLOOGLET
= 68, /* non-TS, no kb blit */
25 SKU_255_UNPROVISIONED
= 255,
28 const char *get_wifi_sar_cbfs_filename(void)
30 uint32_t sku_id
= google_chromeec_get_board_sku();
37 return "wifi_sar-bloog.hex";
38 case SKU_49_BLOOGUARD
:
39 case SKU_50_BLOOGUARD
:
40 case SKU_51_BLOOGUARD
:
41 case SKU_52_BLOOGUARD
:
44 return "wifi_sar-blooguard.hex";
46 return WIFI_SAR_CBFS_DEFAULT_FILENAME
;
49 const char *mainboard_vbt_filename(void)
53 sku_id
= google_chromeec_get_board_sku();
60 case SKU_255_UNPROVISIONED
:
63 return "vbt_blooguard.bin";