Frank Wu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62846 )
Change subject: mb/google/brya/var/banshee: Add WiFi SAR table for banshee ......................................................................
mb/google/brya/var/banshee: Add WiFi SAR table for banshee
Add WiFi SAR table for banshee
BUG=b: 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 --- M src/mainboard/google/brya/Kconfig.name M src/mainboard/google/brya/variants/banshee/Makefile.inc A src/mainboard/google/brya/variants/banshee/variant.c 3 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/62846/1
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 9bf50ae..ff4f10d 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -171,6 +171,7 @@ 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 20c6c3c..3284196 100644 --- a/src/mainboard/google/brya/variants/banshee/Makefile.inc +++ b/src/mainboard/google/brya/variants/banshee/Makefile.inc @@ -3,3 +3,4 @@ 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 0000000..6a79780 --- /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"; +}