From 0c602b614dae135dda1c8860cfc1b69b78d3bf22 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 25 Aug 2023 11:07:29 +0530 Subject: mb/google/rex/var/rex0: Use FW_CONFIG to select the correct SAR table This patch changes the SAR table selection logic to use FW_CONFIG which will eventually help to support different WiFi SAR tables. TEST=Able to build and boot google/rex. Change-Id: I8f1244e3c3715bc3fbe6be1ade87817ff19836de Signed-off-by: YH Lin Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/77428 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/rex/variants/rex0/variant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/rex/variants') diff --git a/src/mainboard/google/rex/variants/rex0/variant.c b/src/mainboard/google/rex/variants/rex0/variant.c index 6641d4b920..2441f96cfd 100644 --- a/src/mainboard/google/rex/variants/rex0/variant.c +++ b/src/mainboard/google/rex/variants/rex0/variant.c @@ -12,7 +12,7 @@ const char *get_wifi_sar_cbfs_filename(void) { - return "wifi_sar_0.hex"; + return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI)); } void variant_generate_s0ix_hook(enum s0ix_entry entry) -- cgit v1.2.3