coreboot/src/vendorcode
Furquan Shaikh 7fe5d3d382 sar: Fix semantics of get_wifi_sar_cbfs_filename()
Currently, if `get_wifi_sar_cbfs_filename()` returns NULL, then
`get_wifi_sar_limits()` assumes that the default filename is used for
CBFS SAR file. This prevents a board from supporting different models
using the same firmware -- some which require SAR support and some
which don't.

This change updates the logic in `get_wifi_sar_limits()` to return
early if filename is not provided by the mainboard. In order to
maintain the same logic as before, current mainboards are updated to
return WIFI_SAR_CBFS_DEFAULT_FILENAME instead of NULL in default
case.

Change-Id: I68b5bdd213767a3cd81fe41ace66540acd68e26a
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51485
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-03-17 07:56:13 +00:00
..
amd soc/amd: GOP: add UPD for VBIOS buffer 2021-03-12 21:26:03 +00:00
cavium src: use ARRAY_SIZE where possible 2021-02-15 11:30:40 +00:00
eltan vc/eltan/security/verified_boot/vboot_check.c: Add check PROG_POSTCAR 2021-01-15 11:18:58 +00:00
google sar: Fix semantics of get_wifi_sar_cbfs_filename() 2021-03-17 07:56:13 +00:00
intel vc/intel/fsp/fsp2_0/cooperlake_sp: Update memory map hob for WW06 FSP 2021-03-15 06:30:05 +00:00
mediatek vendorcode/mt8192: change to short log macro names 2021-03-16 11:19:42 +00:00
siemens cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
Makefile.inc soc/mediatek/mt8192: initialize DRAM using vendor reference code 2021-03-08 03:15:43 +00:00