diff options
author | Tim Newsome <tim@sifive.com> | 2017-06-08 13:05:01 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2017-06-08 13:05:01 -0700 |
commit | 1a904654f1d7e6ea5f43f8d0039fadebd9c1aa88 (patch) | |
tree | 9a89ac3d045c8eaa977a25038fa09ec7ae0ecf93 /riscv | |
parent | 3e92055f8323729fdfa72e4ac463ed677424606c (diff) | |
download | spike-1a904654f1d7e6ea5f43f8d0039fadebd9c1aa88.zip spike-1a904654f1d7e6ea5f43f8d0039fadebd9c1aa88.tar.gz spike-1a904654f1d7e6ea5f43f8d0039fadebd9c1aa88.tar.bz2 |
Reset to "success" instead of "error."dtm_reset_error
OpenOCD actually checks this initial value now, and there's no reason
for it to indicate error.
Diffstat (limited to 'riscv')
-rw-r--r-- | riscv/jtag_dtm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/jtag_dtm.cc b/riscv/jtag_dtm.cc index cd3f3ee..3a0e8d2 100644 --- 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) { } |