Reduce severity of the error messages that are polluting the log
This commit is contained in:
parent
73b6ea55eb
commit
e09dd62229
|
@ -383,7 +383,7 @@ static dmi_status_t dmi_scan(struct target *target, uint16_t *address_in,
|
||||||
|
|
||||||
int retval = jtag_execute_queue();
|
int retval = jtag_execute_queue();
|
||||||
if (retval != ERROR_OK) {
|
if (retval != ERROR_OK) {
|
||||||
LOG_ERROR("dmi_scan failed jtag scan");
|
LOG_INFO("dmi_scan failed jtag scan");
|
||||||
return DMI_STATUS_FAILED;
|
return DMI_STATUS_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -418,13 +418,13 @@ static uint32_t dmi_read(struct target *target, uint16_t address)
|
||||||
} else if (status == DMI_STATUS_SUCCESS) {
|
} else if (status == DMI_STATUS_SUCCESS) {
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR("failed read from 0x%x, status=%d", address, status);
|
LOG_INFO("failed read from 0x%x, status=%d", address, status);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status != DMI_STATUS_SUCCESS) {
|
if (status != DMI_STATUS_SUCCESS) {
|
||||||
LOG_ERROR("Failed read from 0x%x; status=%d", address, status);
|
LOG_INFO("Failed read from 0x%x; status=%d", address, status);
|
||||||
return ~0;
|
return ~0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue