From fd5d26522c021c8f7a3242609f3b54cf209a8767 Mon Sep 17 00:00:00 2001 From: Jamie Chen Date: Thu, 23 Mar 2023 13:02:15 +0800 Subject: [PATCH] mb/google/brya/var/omnigul: Add WIFI SAR table Add WIFI SAR table for omnigul. BUG=b:273170023,b:273652516 TEST=FW_NAME=omnigul emerge-brya coreboot Change-Id: I2db057371754961503cfdc59f21c365fc82672c4 Signed-off-by: Jamie Chen Reviewed-on: https://review.coreboot.org/c/coreboot/+/73940 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Derek Huang Reviewed-by: Subrata Banik --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/omnigul/Makefile.inc | 2 ++ src/mainboard/google/brya/variants/omnigul/variant.c | 8 ++++++++ 3 files changed, 11 insertions(+) create mode 100644 src/mainboard/google/brya/variants/omnigul/variant.c diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index d9522efd92..85504c701c 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -337,6 +337,7 @@ config BOARD_GOOGLE_OMNIGUL select SOC_INTEL_RAPTORLAKE select USE_UNIFIED_AP_FIRMWARE_FOR_UFS_AND_NON_UFS select DRIVERS_INTEL_ISH + select CHROMEOS_WIFI_SAR if CHROMEOS config BOARD_GOOGLE_CONSTITUTION bool "-> Constitution" diff --git a/src/mainboard/google/brya/variants/omnigul/Makefile.inc b/src/mainboard/google/brya/variants/omnigul/Makefile.inc index a9bae70fc8..8843e0d9e2 100644 --- a/src/mainboard/google/brya/variants/omnigul/Makefile.inc +++ b/src/mainboard/google/brya/variants/omnigul/Makefile.inc @@ -3,6 +3,8 @@ bootblock-y += gpio.c ramstage-y += gpio.c +ramstage-y += variant.c + romstage-y += gpio.c romstage-y += memory.c diff --git a/src/mainboard/google/brya/variants/omnigul/variant.c b/src/mainboard/google/brya/variants/omnigul/variant.c new file mode 100644 index 0000000000..6a79780f6e --- /dev/null +++ b/src/mainboard/google/brya/variants/omnigul/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"; +}