mb/google/nissa/var/sundance: Add wifi sar table
Add AX211 wifi sar table for sundance wifi sar config. Use fw_config to separate different wifi card settings. WIFI_SAR_TABLE_AX211: 0 BUG=b:332978681 Test=emerge-nissa coreboot Change-Id: Ide84996da567e4f866a2a1309a6976ed8df635a6 Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83044 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
@@ -413,6 +413,7 @@ config BOARD_GOOGLE_PUJJO
|
|||||||
|
|
||||||
config BOARD_GOOGLE_SUNDANCE
|
config BOARD_GOOGLE_SUNDANCE
|
||||||
select BOARD_GOOGLE_BASEBOARD_NISSA
|
select BOARD_GOOGLE_BASEBOARD_NISSA
|
||||||
|
select CHROMEOS_WIFI_SAR if CHROMEOS
|
||||||
select DRIVERS_GENERIC_GPIO_KEYS
|
select DRIVERS_GENERIC_GPIO_KEYS
|
||||||
select HAVE_WWAN_POWER_SEQUENCE
|
select HAVE_WWAN_POWER_SEQUENCE
|
||||||
|
|
||||||
|
@@ -5,3 +5,4 @@ romstage-y += gpio.c
|
|||||||
|
|
||||||
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
|
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
|
||||||
ramstage-y += gpio.c
|
ramstage-y += gpio.c
|
||||||
|
ramstage-y += variant.c
|
||||||
|
@@ -3,6 +3,9 @@ fw_config
|
|||||||
option LTE_ABSENT 0
|
option LTE_ABSENT 0
|
||||||
option LTE_PRESENT 1
|
option LTE_PRESENT 1
|
||||||
end
|
end
|
||||||
|
field WIFI_SAR_ID 12 15
|
||||||
|
option WIFI_SAR_TABLE_AX211 0
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
chip soc/intel/alderlake
|
chip soc/intel/alderlake
|
||||||
|
9
src/mainboard/google/brya/variants/sundance/variant.c
Normal file
9
src/mainboard/google/brya/variants/sundance/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