riscv-compliance: Turn off ABSTRACTAUTO until the appropriate time

compliance_dev
Megan Wachs 2018-02-13 13:47:14 -08:00
parent 313885cb3b
commit 8f7195af76
1 changed files with 1 additions and 0 deletions

View File

@ -2431,6 +2431,7 @@ int riscv013_test_compliance(struct target *target) {
// See which bits are actually writable // See which bits are actually writable
dmi_write(target, DMI_ABSTRACTAUTO, 0xFFFFFFFF); dmi_write(target, DMI_ABSTRACTAUTO, 0xFFFFFFFF);
uint32_t abstractauto = dmi_read(target, DMI_ABSTRACTAUTO); uint32_t abstractauto = dmi_read(target, DMI_ABSTRACTAUTO);
dmi_write(target, DMI_ABSTRACTAUTO, 0x0);
if (abstractauto > 0) { if (abstractauto > 0) {
testvar = 0; testvar = 0;
// TODO: This mechanism only works when you have a reasonable sized progbuf, which is not // TODO: This mechanism only works when you have a reasonable sized progbuf, which is not