mb/google/nissa/var/pujjoga: Add wifi sar table
Add AX211 and AX203 wifi sar table for pujjoga wifi sar config. Use fw_config to separate different wifi card settings. WIFI_SAR_TABLE_AX211: 0 WIFI_SAR_TABLE_AX203: 1 BUG=b:336167281 Test=emerge-nissa coreboot Change-Id: If0f542cb13e93e99960bf65d616b26cee7617a43 Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82702 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
This commit is contained in:
@@ -418,6 +418,7 @@ config BOARD_GOOGLE_SUNDANCE
|
||||
config BOARD_GOOGLE_PUJJOGA
|
||||
select BOARD_GOOGLE_BASEBOARD_NISSA
|
||||
select DRIVERS_GENERIC_GPIO_KEYS
|
||||
select CHROMEOS_WIFI_SAR if CHROMEOS
|
||||
|
||||
config BOARD_GOOGLE_QUANDISO
|
||||
select BOARD_GOOGLE_BASEBOARD_NISSA
|
||||
|
@@ -4,4 +4,5 @@ bootblock-y += gpio.c
|
||||
romstage-y += gpio.c
|
||||
|
||||
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
|
||||
ramstage-y += variant.c
|
||||
ramstage-y += gpio.c
|
||||
|
@@ -4,6 +4,10 @@ fw_config
|
||||
option LTE_PRESENT 1
|
||||
option 5G_PRESENT 2
|
||||
end
|
||||
field WIFI_SAR_ID 13 16
|
||||
option WIFI_SAR_TABLE_AX211 0
|
||||
option WIFI_SAR_TABLE_AX203 1
|
||||
end
|
||||
end
|
||||
|
||||
chip soc/intel/alderlake
|
||||
|
9
src/mainboard/google/brya/variants/pujjoga/variant.c
Normal file
9
src/mainboard/google/brya/variants/pujjoga/variant.c
Normal file
@@ -0,0 +1,9 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <fw_config.h>
|
||||
#include <sar.h>
|
||||
|
||||
const char *get_wifi_sar_cbfs_filename(void)
|
||||
{
|
||||
return get_wifi_sar_fw_config_filename(FW_CONFIG_FIELD(WIFI_SAR_ID));
|
||||
}
|
Reference in New Issue
Block a user