diff options
author | Scott Chao <scott_chao@wistron.corp-partner.google.com> | 2022-05-06 19:19:39 +0800 |
---|---|---|
committer | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-05-11 15:02:54 +0000 |
commit | a0cd3ee9665089c05baec81a6ebb05bf37fc8e89 (patch) | |
tree | fa4f72900b68354b5b350204cdf1b906c1c40244 /src/mainboard/google/brya/variants | |
parent | 7886d463168a8b665cf2eced37b81659caa4c888 (diff) |
mb/google/brya/var/crota: enable wifi sar
BUG=b:216594621
BRANCH=brya
TEST=build pass and SAR table be changed according to tablet/ desktop mode
Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com>
Change-Id: I62265e8931da48d20cf41e0c91ccb1a5b4bc1167
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64096
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/variants')
-rw-r--r-- | src/mainboard/google/brya/variants/crota/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/crota/variant.c | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/crota/Makefile.inc b/src/mainboard/google/brya/variants/crota/Makefile.inc index 7d1f88652d..f9d5990ace 100644 --- a/src/mainboard/google/brya/variants/crota/Makefile.inc +++ b/src/mainboard/google/brya/variants/crota/Makefile.inc @@ -4,3 +4,5 @@ romstage-y += gpio.c romstage-y += memory.c ramstage-y += gpio.c + +ramstage-y += variant.c diff --git a/src/mainboard/google/brya/variants/crota/variant.c b/src/mainboard/google/brya/variants/crota/variant.c new file mode 100644 index 0000000000..29f684aa08 --- /dev/null +++ b/src/mainboard/google/brya/variants/crota/variant.c @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> +#include <chip.h> +#include <fw_config.h> +#include <baseboard/variants.h> + +const char *get_wifi_sar_cbfs_filename(void) +{ + return "wifi_sar_0.hex"; +} |