mb/google/octopus: Add custom SAR values for Foob360
Foob360 would prefer to use different SAR values. Since Foob360 sku id is 9. BUG=b:149362272 BRANCH=octopus TEST=build Signed-off-by: peichao.wang <peichao.wang@bitland.corp-partner.google.com> Change-Id: I8cc5d73629990f19d2c1044debdba4990c54d07e Reviewed-on: https://review.coreboot.org/c/coreboot/+/39424 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marco Chen <marcochen@google.com>
This commit is contained in:
parent
2974ec2cbf
commit
bfb0f755b9
|
@ -16,6 +16,7 @@
|
||||||
#include <baseboard/variants.h>
|
#include <baseboard/variants.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
#include <ec/google/chromeec/ec.h>
|
#include <ec/google/chromeec/ec.h>
|
||||||
|
#include <sar.h>
|
||||||
|
|
||||||
#define SKU_UNKNOWN 0xFFFFFFFF
|
#define SKU_UNKNOWN 0xFFFFFFFF
|
||||||
|
|
||||||
|
@ -34,3 +35,14 @@ void variant_update_devtree(struct device *dev)
|
||||||
if (no_touchscreen_sku(sku_id))
|
if (no_touchscreen_sku(sku_id))
|
||||||
touchscreen_i2c_host->enabled = 0;
|
touchscreen_i2c_host->enabled = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *get_wifi_sar_cbfs_filename(void)
|
||||||
|
{
|
||||||
|
const char *filename = NULL;
|
||||||
|
uint32_t sku_id = SKU_UNKNOWN;
|
||||||
|
|
||||||
|
sku_id = google_chromeec_get_board_sku();
|
||||||
|
if (sku_id == 9)
|
||||||
|
filename = "wifi_sar-foob360.hex";
|
||||||
|
return filename;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue