From 78532486965d1cdb6a6e00322584b7915b40e73b Mon Sep 17 00:00:00 2001 From: "leo.chou" Date: Mon, 18 Apr 2022 13:35:13 +0800 Subject: mb/google/brya/var/taniks: Add WiFi SAR table for taniks Add WiFi SAR table for taniks. BUG=b:226690925 TEST=build FW and checked SAR table can load by WiFi driver. Signed-off-by: leo.chou Change-Id: I7b52f71b1fe49c02beaa48410495b81661b58fac Reviewed-on: https://review.coreboot.org/c/coreboot/+/63684 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/taniks/Makefile.inc | 2 ++ src/mainboard/google/brya/variants/taniks/variant.c | 8 ++++++++ 3 files changed, 11 insertions(+) create mode 100644 src/mainboard/google/brya/variants/taniks/variant.c (limited to 'src/mainboard/google/brya') diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 66b21200a3..216803f8a4 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -159,6 +159,7 @@ config BOARD_GOOGLE_TANIKS select DRIVERS_GENESYSLOGIC_GL9750 select DRIVERS_GENESYSLOGIC_GL9763E select DRIVERS_GENESYSLOGIC_GL9763E_L1_MAX + select CHROMEOS_WIFI_SAR if CHROMEOS config BOARD_GOOGLE_VELL bool "-> Vell" diff --git a/src/mainboard/google/brya/variants/taniks/Makefile.inc b/src/mainboard/google/brya/variants/taniks/Makefile.inc index 6947beb6dd..3ee0dc9e0d 100644 --- a/src/mainboard/google/brya/variants/taniks/Makefile.inc +++ b/src/mainboard/google/brya/variants/taniks/Makefile.inc @@ -5,3 +5,5 @@ romstage-y += memory.c ramstage-y += gpio.c ramstage-$(CONFIG_FW_CONFIG) += fw_config.c + +ramstage-$(CONFIG_FW_CONFIG) += variant.c diff --git a/src/mainboard/google/brya/variants/taniks/variant.c b/src/mainboard/google/brya/variants/taniks/variant.c new file mode 100644 index 0000000000..6a79780f6e --- /dev/null +++ b/src/mainboard/google/brya/variants/taniks/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} -- cgit v1.2.3