diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/dedede/Kconfig.name | 1 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/cret/Makefile.inc | 1 | ||||
-rw-r--r-- | src/mainboard/google/dedede/variants/cret/variant.c | 7 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name index 6c908fba4a..6cdd4ded87 100644 --- a/src/mainboard/google/dedede/Kconfig.name +++ b/src/mainboard/google/dedede/Kconfig.name @@ -143,6 +143,7 @@ config BOARD_GOOGLE_CRET select BASEBOARD_DEDEDE_LAPTOP select DRIVERS_GENERIC_MAX98357A select DRIVERS_I2C_DA7219 + select GEO_SAR_ENABLE if CHROMEOS_WIFI_SAR config BOARD_GOOGLE_PIRIKA bool "-> Pirika" diff --git a/src/mainboard/google/dedede/variants/cret/Makefile.inc b/src/mainboard/google/dedede/variants/cret/Makefile.inc index fd60a18b69..ac22e9e6de 100644 --- a/src/mainboard/google/dedede/variants/cret/Makefile.inc +++ b/src/mainboard/google/dedede/variants/cret/Makefile.inc @@ -1,5 +1,6 @@ ## SPDX-License-Identifier: GPL-2.0-or-later ramstage-y += gpio.c +ramstage-$(CONFIG_FW_CONFIG) += variant.c smm-y += variant.c diff --git a/src/mainboard/google/dedede/variants/cret/variant.c b/src/mainboard/google/dedede/variants/cret/variant.c index 2540fc7f2a..d9fb28ce2b 100644 --- a/src/mainboard/google/dedede/variants/cret/variant.c +++ b/src/mainboard/google/dedede/variants/cret/variant.c @@ -3,7 +3,14 @@ #include <acpi/acpi.h> #include <baseboard/variants.h> #include <delay.h> +#include <fw_config.h> #include <gpio.h> +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar-cret.hex"; +} static void power_off_lte_module(void) { |