mb/google/brya/var/crota: enable wifi sar

BUG=b:216594621
BRANCH=brya
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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64096
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Scott Chao 2022-05-06 19:19:39 +08:00 committed by Tim Wawrzynczak
parent 7886d46316
commit a0cd3ee966
3 changed files with 14 additions and 0 deletions

View File

@ -186,6 +186,7 @@ config BOARD_GOOGLE_BANSHEE
config BOARD_GOOGLE_CROTA config BOARD_GOOGLE_CROTA
bool "-> Crota" bool "-> Crota"
select BOARD_GOOGLE_BASEBOARD_BRYA select BOARD_GOOGLE_BASEBOARD_BRYA
select CHROMEOS_WIFI_SAR if CHROMEOS
select DRIVERS_I2C_CS42L42 select DRIVERS_I2C_CS42L42
config BOARD_GOOGLE_MOLI config BOARD_GOOGLE_MOLI

View File

@ -4,3 +4,5 @@ romstage-y += gpio.c
romstage-y += memory.c romstage-y += memory.c
ramstage-y += gpio.c ramstage-y += gpio.c
ramstage-y += variant.c

View File

@ -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";
}