Write all ones to clear cmderr. (#389)

Change-Id: Ia76e749ed9f5a5f3509f253eeb69d1208bcfc929
This commit is contained in:
Tim Newsome 2019-07-15 10:33:52 -07:00 committed by GitHub
parent 6983eda0e9
commit 9b34f8ca3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3743,7 +3743,7 @@ void riscv013_clear_abstract_error(struct target *target)
}
}
/* Clear the error status. */
dmi_write(target, DMI_ABSTRACTCS, abstractcs & DMI_ABSTRACTCS_CMDERR);
dmi_write(target, DMI_ABSTRACTCS, DMI_ABSTRACTCS_CMDERR);
}
#ifdef _WIN32