diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/hatch/variants/kindred/variant.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/kindred/variant.c b/src/mainboard/google/hatch/variants/kindred/variant.c index 583bcff8ae..27fe170852 100644 --- a/src/mainboard/google/hatch/variants/kindred/variant.c +++ b/src/mainboard/google/hatch/variants/kindred/variant.c @@ -6,6 +6,7 @@ #include <soc/pci_devs.h> #include <ec/google/chromeec/ec.h> #include <sar.h> +#include <drivers/intel/gma/opregion.h> void variant_devtree_update(void) { @@ -46,3 +47,13 @@ const char *get_wifi_sar_cbfs_filename(void) filename = "wifi_sar-kled.hex"; return filename; } + +const char *mainboard_vbt_filename(void) +{ + uint32_t sku_id = google_chromeec_get_board_sku(); + + if (sku_id == 1 || sku_id == 2 || sku_id == 3 || sku_id == 4) + return "vbt-kled.bin"; + else + return "vbt.bin"; +} |