From 5dd832c5c8f4f661782019b526584a3aa5375a33 Mon Sep 17 00:00:00 2001 From: Morris Hsu Date: Mon, 24 Jul 2023 18:05:42 +0800 Subject: mb/google/brask/var/constitution: Add wifi sar table Add wifi sar table for constitution BUG=b:291859402 BRANCH=firmware-brya-14505.B TEST=emerge-constitution coreboot chromeos-bootimage Change-Id: I8f99c5cf486cb3e1f2825bbe3a8084f2fe57a41a Signed-off-by: Morris Hsu Reviewed-on: https://review.coreboot.org/c/coreboot/+/76674 Reviewed-by: YH Lin Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: David Wu --- src/mainboard/google/brya/Kconfig.name | 1 + src/mainboard/google/brya/variants/constitution/Makefile.inc | 1 + src/mainboard/google/brya/variants/constitution/variant.c | 8 ++++++++ 3 files changed, 10 insertions(+) create mode 100644 src/mainboard/google/brya/variants/constitution/variant.c (limited to 'src') diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index f7f2b75fd2..be67f5670c 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -353,6 +353,7 @@ config BOARD_GOOGLE_OMNIGUL config BOARD_GOOGLE_CONSTITUTION bool "-> Constitution" select BOARD_GOOGLE_BASEBOARD_BRASK + select CHROMEOS_WIFI_SAR if CHROMEOS select SOC_INTEL_RAPTORLAKE select MEMORY_SOLDERDOWN diff --git a/src/mainboard/google/brya/variants/constitution/Makefile.inc b/src/mainboard/google/brya/variants/constitution/Makefile.inc index 20c6c3c22f..7fb0167253 100644 --- a/src/mainboard/google/brya/variants/constitution/Makefile.inc +++ b/src/mainboard/google/brya/variants/constitution/Makefile.inc @@ -3,3 +3,4 @@ bootblock-y += gpio.c romstage-y += memory.c romstage-y += gpio.c ramstage-y += gpio.c +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/constitution/variant.c b/src/mainboard/google/brya/variants/constitution/variant.c new file mode 100644 index 0000000000..6a79780f6e --- /dev/null +++ b/src/mainboard/google/brya/variants/constitution/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