summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaulik V Vaghela <maulik.v.vaghela@intel.com>2020-11-11 12:44:28 +0530
committerSubrata Banik <subrata.banik@intel.com>2020-11-20 08:36:26 +0000
commit0fd62f5b7963b2128d48aca190a93e9b94d70d13 (patch)
treeaee43348240807a27a6d521cb9febe22f24fc641
parent957a36397ad7edc004f1f432a26ed43f86480bbf (diff)
vc/google/chromeos/sar: Make "SAR not found" log a debug message
coreboot might not store wifi SAR values in VPD and may store it in CBFS. Logging the message with 'error' severity may interfere with automated test tool. Lowering severity to BIOS_DEBUG avoids this issue. BUG=b:171931401 BRANCH=None TEST=Severity of message is reduced and we don't see it as an error Change-Id: I5c122a57cfe92b27e0291933618ca13d8e1889ba Signed-off-by: Maulik V Vaghela <maulik.v.vaghela@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47442 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
-rw-r--r--src/drivers/wifi/generic/acpi.c2
-rw-r--r--src/vendorcode/google/chromeos/sar.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/wifi/generic/acpi.c b/src/drivers/wifi/generic/acpi.c
index cd5af4ecfa..4440b81b5b 100644
--- a/src/drivers/wifi/generic/acpi.c
+++ b/src/drivers/wifi/generic/acpi.c
@@ -53,7 +53,7 @@ static void emit_sar_acpi_structures(const struct device *dev)
/* Retrieve the sar limits data */
if (get_wifi_sar_limits(&sar_limits) < 0) {
- printk(BIOS_ERR, "Error: failed from getting SAR limits!\n");
+ printk(BIOS_DEBUG, "failed from getting SAR limits!\n");
return;
}
diff --git a/src/vendorcode/google/chromeos/sar.c b/src/vendorcode/google/chromeos/sar.c
index 2f73d39020..9bca42352d 100644
--- a/src/vendorcode/google/chromeos/sar.c
+++ b/src/vendorcode/google/chromeos/sar.c
@@ -71,7 +71,7 @@ int get_wifi_sar_limits(struct wifi_sar_limits *sar_limits)
/* Try to read the SAR limit entry from VPD */
if (!vpd_gets(wifi_sar_limit_key, wifi_sar_limit_str,
buffer_size, VPD_RO_THEN_RW)) {
- printk(BIOS_ERR, "Error: Could not locate '%s' in VPD.\n",
+ printk(BIOS_DEBUG, "Could not locate '%s' in VPD.\n",
wifi_sar_limit_key);
if (!CONFIG(WIFI_SAR_CBFS))