diff options
Diffstat (limited to 'src/mainboard/google/volteer/variants/voxel')
-rw-r--r-- | src/mainboard/google/volteer/variants/voxel/Makefile.inc | 1 | ||||
-rw-r--r-- | src/mainboard/google/volteer/variants/voxel/variant.c | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/voxel/Makefile.inc b/src/mainboard/google/volteer/variants/voxel/Makefile.inc index 3488dc6cc2..310a99c0ed 100644 --- a/src/mainboard/google/volteer/variants/voxel/Makefile.inc +++ b/src/mainboard/google/volteer/variants/voxel/Makefile.inc @@ -6,3 +6,4 @@ romstage-y += memory.c ramstage-y += gpio.c ramstage-y += ramstage.c +ramstage-y += variant.c diff --git a/src/mainboard/google/volteer/variants/voxel/variant.c b/src/mainboard/google/volteer/variants/voxel/variant.c new file mode 100644 index 0000000000..70fa3a061a --- /dev/null +++ b/src/mainboard/google/volteer/variants/voxel/variant.c @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <fw_config.h> +#include <sar.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + const char *filename = NULL; + + if (fw_config_probe(FW_CONFIG(TABLETMODE, TABLETMODE_DISABLED))) + filename = "wifi_sar-volta.hex"; + + return filename; +} |