diff options
author | Frank Wu <frank_wu@compal.corp-partner.google.com> | 2022-03-16 11:40:04 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-03-21 14:16:27 +0000 |
commit | 0c893d2624716f8fab95b4d60b0a22ab69ea74c8 (patch) | |
tree | c6d5228678ec4d2bd638cea64364043d7da632f2 /src | |
parent | b1dd019de2b7295315fd94ad89693980208f33fe (diff) |
mb/google/brya/var/banshee: Add WiFi SAR table
Add WiFi SAR table
BUG=b:225285426
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: Frank Wu <frank_wu@compal.corp-partner.google.com>
Change-Id: I8fa833409bd69e080fda735c89015b9548252190
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62846
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/brya/Kconfig.name | 1 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/banshee/Makefile.inc | 1 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/banshee/variant.c | 8 |
3 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index e29ef9fa56..dd7935cb7c 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -172,6 +172,7 @@ config BOARD_GOOGLE_BANSHEE bool "-> Banshee" select BOARD_GOOGLE_BASEBOARD_BRYA select MEMORY_SODIMM + select CHROMEOS_WIFI_SAR if CHROMEOS config BOARD_GOOGLE_CROTA bool "-> Crota" diff --git a/src/mainboard/google/brya/variants/banshee/Makefile.inc b/src/mainboard/google/brya/variants/banshee/Makefile.inc index 20c6c3c22f..3284196e19 100644 --- a/src/mainboard/google/brya/variants/banshee/Makefile.inc +++ b/src/mainboard/google/brya/variants/banshee/Makefile.inc @@ -3,3 +3,4 @@ bootblock-y += gpio.c romstage-y += memory.c romstage-y += gpio.c ramstage-y += gpio.c +ramstage-$(CONFIG_FW_CONFIG) += variant.c diff --git a/src/mainboard/google/brya/variants/banshee/variant.c b/src/mainboard/google/brya/variants/banshee/variant.c new file mode 100644 index 0000000000..6a79780f6e --- /dev/null +++ b/src/mainboard/google/brya/variants/banshee/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} |