summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2022-05-06 14:52:01 +0800
committerHung-Te Lin <hungte@chromium.org>2022-05-09 05:09:45 +0000
commitd4cdf5d5811dd9ba30421e8b366598f276a6ca2a (patch)
tree89c3da0e491f01ad5ae7d64b5f42e5c39a3d6428 /src/soc
parentc53a0aaa594903194ecd25b07b270b424a45cb8a (diff)
soc/mediatek: Demote log level of SPMI clock calibration problem to info
It's expected that the mismatch logs will be shown when doing calibration for spmi clock. If it is failed to do calibration for spmi clock for all data, the system will enter "die". Therefore, we adjust the log level from BIOS_ERR to BIOS_INFO. BUG=b:231531254 TEST=emerge-cherry coreboot Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: I148b4aeaaeb10e1c269a8eccbb19e8d8e17e40ff Reviewed-on: https://review.coreboot.org/c/coreboot/+/64090 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/mediatek/common/pmif_spmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/pmif_spmi.c b/src/soc/mediatek/common/pmif_spmi.c
index 5f68c23507..b9e70b3c23 100644
--- a/src/soc/mediatek/common/pmif_spmi.c
+++ b/src/soc/mediatek/common/pmif_spmi.c
@@ -44,14 +44,14 @@ static int spmi_read_check(struct pmif *pmif_arb, int slvid)
pmif_arb->read(pmif_arb, slvid, MT6315_READ_TEST, &rdata);
if (rdata != MT6315_DEFAULT_VALUE_READ) {
- printk(BIOS_ERR, "%s next, slvid:%d rdata = 0x%x.\n",
+ printk(BIOS_INFO, "%s next, slvid:%d rdata = 0x%x.\n",
__func__, slvid, rdata);
return -E_NODEV;
}
pmif_arb->read(pmif_arb, slvid, MT6315_READ_TEST_1, &rdata);
if (rdata != MT6315_DEFAULT_VALUE_READ) {
- printk(BIOS_ERR, "%s next, slvid:%d rdata = 0x%x.\n",
+ printk(BIOS_INFO, "%s next, slvid:%d rdata = 0x%x.\n",
__func__, slvid, rdata);
return -E_NODEV;
}