diff options
author | John Su <john_su@compal.corp-partner.google.com> | 2022-05-20 14:05:12 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-05-25 21:59:36 +0000 |
commit | c01e289a0be221eb3cce834a058756d44bb6a71e (patch) | |
tree | f3440a2a6c91177860061bccebce4aacfa97107b /src/mainboard/google/brya/variants | |
parent | 49ab8e0ced38691a012ce9933792184b2535b0e1 (diff) |
mb/google/brya/var/mithrax: Add WiFi SAR table for mithrax
Add WiFi SAR table for mithrax.
BUG=b:231491014
TEST=emerge-brya chromeos-config chromeos-config-bsp-private
coreboot-private-files-baseboard-brya coreboot chromeos-bootimage
and checked SAR table can load by WiFi driver.
Signed-off-by: John Su <john_su@compal.corp-partner.google.com>
Change-Id: I847debd7c817225b5b1777c798a14ef10aee3471
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64541
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r-- | src/mainboard/google/brya/variants/mithrax/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/mithrax/variant.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/mithrax/Makefile.inc b/src/mainboard/google/brya/variants/mithrax/Makefile.inc index 1d149fd80a..2e359d3e2d 100644 --- a/src/mainboard/google/brya/variants/mithrax/Makefile.inc +++ b/src/mainboard/google/brya/variants/mithrax/Makefile.inc @@ -1,3 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only bootblock-y += gpio.c ramstage-y += gpio.c + +ramstage-$(CONFIG_FW_CONFIG) += variant.c diff --git a/src/mainboard/google/brya/variants/mithrax/variant.c b/src/mainboard/google/brya/variants/mithrax/variant.c index 2af5a9a976..b0bf99ac56 100644 --- a/src/mainboard/google/brya/variants/mithrax/variant.c +++ b/src/mainboard/google/brya/variants/mithrax/variant.c @@ -3,6 +3,12 @@ #include <chip.h> #include <fw_config.h> #include <baseboard/variants.h> +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) { |