Kevin Chang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61665 )
Change subject: mb/google/brya/var/taeko: Add WiFi SAR table for taeko ......................................................................
mb/google/brya/var/taeko: Add WiFi SAR table for taeko
Add WiFi SAR table for taeko.
BUG=b:206901900 TEST=build FW and checked SAR table can load by WiFi driver.
Signed-off-by: Kevin Chang kevin.chang@lcfc.corp-partner.google.com Change-Id: I061dc798ae7177d05bc50648cfda46a3eec2c912 --- M src/mainboard/google/brya/Kconfig.name M src/mainboard/google/brya/variants/taeko/Makefile.inc A src/mainboard/google/brya/variants/taeko/variant.c M src/mainboard/google/brya/variants/taeko4es/Makefile.inc A src/mainboard/google/brya/variants/taeko4es/variant.c 5 files changed, 26 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/61665/1
diff --git a/src/mainboard/google/brya/Kconfig.name b/src/mainboard/google/brya/Kconfig.name index 0a3b1d9..ccbeb05 100644 --- a/src/mainboard/google/brya/Kconfig.name +++ b/src/mainboard/google/brya/Kconfig.name @@ -128,12 +128,18 @@ select BOARD_GOOGLE_BASEBOARD_BRYA select DRIVERS_GENERIC_BAYHUB_LV2 select DRIVERS_GENESYSLOGIC_GL9763E + select USE_SAR + select WIFI_SAR_CBFS + select CHROMEOS_WIFI_SAR if CHROMEOS
config BOARD_GOOGLE_TAEKO4ES bool "-> Taeko4ES" select BOARD_GOOGLE_BASEBOARD_BRYA select DRIVERS_GENERIC_BAYHUB_LV2 select DRIVERS_GENESYSLOGIC_GL9763E + select USE_SAR + select WIFI_SAR_CBFS + select CHROMEOS_WIFI_SAR if CHROMEOS
config BOARD_GOOGLE_TANIKS bool "-> Taniks" diff --git a/src/mainboard/google/brya/variants/taeko/Makefile.inc b/src/mainboard/google/brya/variants/taeko/Makefile.inc index c61f75a..396e5be 100644 --- a/src/mainboard/google/brya/variants/taeko/Makefile.inc +++ b/src/mainboard/google/brya/variants/taeko/Makefile.inc @@ -7,3 +7,5 @@ ramstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c + +ramstage-$(CONFIG_FW_CONFIG) += variant.c diff --git a/src/mainboard/google/brya/variants/taeko/variant.c b/src/mainboard/google/brya/variants/taeko/variant.c new file mode 100644 index 0000000..6a79780 --- /dev/null +++ b/src/mainboard/google/brya/variants/taeko/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} diff --git a/src/mainboard/google/brya/variants/taeko4es/Makefile.inc b/src/mainboard/google/brya/variants/taeko4es/Makefile.inc index c61f75a..396e5be 100644 --- a/src/mainboard/google/brya/variants/taeko4es/Makefile.inc +++ b/src/mainboard/google/brya/variants/taeko4es/Makefile.inc @@ -7,3 +7,5 @@ ramstage-y += gpio.c
ramstage-$(CONFIG_FW_CONFIG) += fw_config.c + +ramstage-$(CONFIG_FW_CONFIG) += variant.c diff --git a/src/mainboard/google/brya/variants/taeko4es/variant.c b/src/mainboard/google/brya/variants/taeko4es/variant.c new file mode 100644 index 0000000..6a79780 --- /dev/null +++ b/src/mainboard/google/brya/variants/taeko4es/variant.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +}