commit | 19fc004e9a107d841696626721ed89e8943a6920 | [log] [tgz] |
---|---|---|
author | Mark Hsieh <mark_hsieh@wistron.corp-partner.google.com> | Wed Jun 28 16:36:28 2023 +0800 |
committer | Felix Held <felix-coreboot@felixheld.de> | Mon Jul 03 12:46:59 2023 +0000 |
tree | 630c1218f15ef92c1065165d3a666b469d249d5d | |
parent | 8c9ec5af5326fc74d245c8fd1cf5c412099170c5 [diff] |
mb/google/nissa/var/joxer: support for different WiFi SAR tables Set the WIFI_SAR_ID field in FW_CONFIG to selcet the correct SAR table. BUG=b:285477026 TEST=emerge-nissa coreboot and check the SAR value Signed-off-by: Mark Hsieh <mark_hsieh@wistron.corp-partner.google.com> Change-Id: Ibea62c77ecad9b2c475452b706779e4cfc6b06d4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76144 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Derek Huang <derekhuang@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/mainboard/google/brya/variants/joxer/overridetree.cb b/src/mainboard/google/brya/variants/joxer/overridetree.cb index dbfeb6d..8ec3b21 100644 --- a/src/mainboard/google/brya/variants/joxer/overridetree.cb +++ b/src/mainboard/google/brya/variants/joxer/overridetree.cb
@@ -1,3 +1,10 @@ +fw_config + field WIFI_SAR_ID 6 6 + option WIFI_GFP2_SAR_ID_0 0 + option WIFI_GFP2_SAR_ID_1 1 + end +end + chip soc/intel/alderlake register "sagv" = "SaGv_Enabled"
diff --git a/src/mainboard/google/brya/variants/joxer/variant.c b/src/mainboard/google/brya/variants/joxer/variant.c index 7db0617..3c23dd1 100644 --- a/src/mainboard/google/brya/variants/joxer/variant.c +++ b/src/mainboard/google/brya/variants/joxer/variant.c
@@ -9,7 +9,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_SAR_ID)); } void variant_devtree_update(void)