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>
This commit is contained in:
Rex-BC Chen 2022-05-06 14:52:01 +08:00 committed by Hung-Te Lin
parent c53a0aaa59
commit d4cdf5d581
1 changed files with 2 additions and 2 deletions

View File

@ -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); pmif_arb->read(pmif_arb, slvid, MT6315_READ_TEST, &rdata);
if (rdata != MT6315_DEFAULT_VALUE_READ) { 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); __func__, slvid, rdata);
return -E_NODEV; return -E_NODEV;
} }
pmif_arb->read(pmif_arb, slvid, MT6315_READ_TEST_1, &rdata); pmif_arb->read(pmif_arb, slvid, MT6315_READ_TEST_1, &rdata);
if (rdata != MT6315_DEFAULT_VALUE_READ) { 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); __func__, slvid, rdata);
return -E_NODEV; return -E_NODEV;
} }