projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e92055
)
Reset to "success" instead of "error."
author
Tim Newsome
<tim@sifive.com>
Thu, 8 Jun 2017 20:05:01 +0000
(13:05 -0700)
committer
Tim Newsome
<tim@sifive.com>
Thu, 8 Jun 2017 20:05:01 +0000
(13:05 -0700)
OpenOCD actually checks this initial value now, and there's no reason
for it to indicate error.
riscv/jtag_dtm.cc
patch
|
blob
|
history
diff --git
a/riscv/jtag_dtm.cc
b/riscv/jtag_dtm.cc
index cd3f3ee996a94a12ac9861d320ce62b43ff7338d..3a0e8d254096903e94ba0f1d828e6cf76d54dbbe 100644
(file)
--- a/
riscv/jtag_dtm.cc
+++ b/
riscv/jtag_dtm.cc
@@
-41,7
+41,7
@@
jtag_dtm_t::jtag_dtm_t(debug_module_t *dm) :
dm(dm),
_tck(false), _tms(false), _tdi(false), _tdo(false),
dtmcontrol((abits << DTM_DTMCS_ABITS_OFFSET) | 1),
- dmi(DMI_OP_STATUS_
FAILED
<< DTM_DMI_OP_OFFSET),
+ dmi(DMI_OP_STATUS_
SUCCESS
<< DTM_DMI_OP_OFFSET),
_state(TEST_LOGIC_RESET)
{
}