diff options
-rw-r--r-- | src/mainboard/google/poppy/variants/rammus/mainboard.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/rammus/mainboard.c b/src/mainboard/google/poppy/variants/rammus/mainboard.c index 66e252739c..8c09b2a57e 100644 --- a/src/mainboard/google/poppy/variants/rammus/mainboard.c +++ b/src/mainboard/google/poppy/variants/rammus/mainboard.c @@ -4,6 +4,7 @@ #include <ec/google/chromeec/ec.h> #include <smbios.h> #include <string.h> +#include <sar.h> #define SKU_UNKNOWN 0xFFFFFFFF @@ -29,3 +30,17 @@ const char *smbios_system_sku(void) return sku_str; } + +const char *get_wifi_sar_cbfs_filename(void) +{ + const char *filename = NULL; + uint32_t sku_id; + + sku_id = variant_board_sku(); + if (sku_id & 0x200) + filename = "wifi_sar-shyvana.hex"; + else + filename = "wifi_sar-leona.hex"; + + return filename; +} |