Scott Chao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/64096 )
Change subject: mb/google/brya/var/crota: enable wifi sar ......................................................................
mb/google/brya/var/crota: enable wifi sar
BUG=b:216594621 BRANCH=none TEST=build pass and SAR table be changed according to tablet/ desktop mode
Signed-off-by: Scott Chao scott_chao@wistron.corp-partner.google.com Change-Id: I62265e8931da48d20cf41e0c91ccb1a5b4bc1167 --- M src/mainboard/google/brya/Kconfig.name M src/mainboard/google/brya/variants/crota/Makefile.inc A src/mainboard/google/brya/variants/crota/variant.c 3 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/64096/1
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index dfa8986..d475d76 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -186,6 +186,7 @@ config BOARD_GOOGLE_CROTA bool "-> Crota" select BOARD_GOOGLE_BASEBOARD_BRYA + select CHROMEOS_WIFI_SAR if CHROMEOS select DRIVERS_I2C_CS42L42
config BOARD_GOOGLE_MOLI diff --git a/src/mainboard/google/brya/variants/crota/Makefile.inc b/src/mainboard/google/brya/variants/crota/Makefile.inc index 7d1f886..f9d5990 100644 --- a/src/mainboard/google/brya/variants/crota/Makefile.inc +++ b/src/mainboard/google/brya/variants/crota/Makefile.inc @@ -4,3 +4,5 @@ romstage-y += memory.c
ramstage-y += gpio.c + +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/crota/variant.c b/src/mainboard/google/brya/variants/crota/variant.c new file mode 100644 index 0000000..29f684aa --- /dev/null +++ b/src/mainboard/google/brya/variants/crota/variant.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> +#include <chip.h> +#include <fw_config.h> +#include <baseboard/variants.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +}