More test/SBA RTL debug
parent
a9b8820916
commit
1ba3986eb7
|
@ -3027,9 +3027,9 @@ static int riscv013_test_sba_config_reg(struct target *target,
|
|||
/* Test 6: Write to misaligned address */
|
||||
sbcs = set_field(sbcs_orig, DMI_SBCS_SBACCESS, 1);
|
||||
|
||||
write_memory_sba_simple(target, legal_address+1, test_patterns, 1, sbcs);
|
||||
write_memory_sba_simple(target, legal_address+1, test_patterns, 1, sbcs);
|
||||
|
||||
dmi_read(target, &rd_val, DMI_SBCS);
|
||||
dmi_read(target, &rd_val, DMI_SBCS);
|
||||
if (get_field(rd_val, DMI_SBCS_SBERROR) == 3) {
|
||||
sbcs = set_field(sbcs_orig, DMI_SBCS_SBERROR, 1);
|
||||
dmi_write(target, DMI_SBCS, sbcs);
|
||||
|
|
Loading…
Reference in New Issue