Checkpoint: fix even more code style issues
This commit is contained in:
parent
8c8bed878c
commit
ada78cae11
|
@ -3014,11 +3014,10 @@ static int riscv013_test_sba_config_reg(struct target *target, target_addr_t ill
|
||||||
sbcs = set_field(sbcs_orig, DMI_SBCS_SBBUSYERROR, 1);
|
sbcs = set_field(sbcs_orig, DMI_SBCS_SBBUSYERROR, 1);
|
||||||
dmi_write(target, DMI_SBCS, sbcs);
|
dmi_write(target, DMI_SBCS, sbcs);
|
||||||
dmi_read(target, &rd_val, DMI_SBCS);
|
dmi_read(target, &rd_val, DMI_SBCS);
|
||||||
if (get_field(rd_val, DMI_SBCS_SBBUSYERROR) == 0) {
|
if (get_field(rd_val, DMI_SBCS_SBBUSYERROR) == 0)
|
||||||
LOG_INFO("System Bus Access Test 6: SBCS sbbusyerror test PASSED");
|
LOG_INFO("System Bus Access Test 6: SBCS sbbusyerror test PASSED");
|
||||||
} else {
|
else
|
||||||
LOG_ERROR("System Bus Access Test 6: SBCS sbbusyerror test FAILED, unable to clear to 0");
|
LOG_ERROR("System Bus Access Test 6: SBCS sbbusyerror test FAILED, unable to clear to 0");
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
LOG_ERROR("System Bus Access Test 6: SBCS sbbusyerror test FAILED, unable to set");
|
LOG_ERROR("System Bus Access Test 6: SBCS sbbusyerror test FAILED, unable to set");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue