diff options
Diffstat (limited to 'src/mainboard/google/hatch/variants/kindred/variant.c')
-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 72bed92398..ce9df8a49b 100644 --- a/src/mainboard/google/hatch/variants/kindred/variant.c +++ b/src/mainboard/google/hatch/variants/kindred/variant.c @@ -16,6 +16,7 @@ #include <chip.h> #include <soc/pci_devs.h> #include <ec/google/chromeec/ec.h> +#include <sar.h> void variant_devtree_update(void) { @@ -46,3 +47,13 @@ void variant_devtree_update(void) cfg->satapwroptimize = 0; } } + +const char *get_wifi_sar_cbfs_filename(void) +{ + const char *filename = NULL; + uint32_t sku_id = google_chromeec_get_board_sku(); + + if (sku_id == 1 || sku_id == 2 || sku_id == 3 || sku_id == 4) + filename = "wifi_sar-kled.hex"; + return filename; +} |