X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Ftarget%2Fnds32_v3m.c;h=2c0d255743f9385ae1b3b94611b82cad75b592e4;hb=13f6c889ab9b6e5b1c4f48fca9807fdc1fb83f42;hp=c37798afb52897920861930359b65d42bcf53bba;hpb=80d412bafc03ce9a0418a2b98de2668b0f8de0e6;p=openocd.git diff --git a/src/target/nds32_v3m.c b/src/target/nds32_v3m.c index c37798afb5..2c0d255743 100644 --- a/src/target/nds32_v3m.c +++ b/src/target/nds32_v3m.c @@ -235,10 +235,7 @@ static int nds32_v3m_deassert_reset(struct target *target) retval = target_halt(target); if (retval != ERROR_OK) return retval; - /* call target_poll() to avoid "Halt timed out" */ - CHECK_RETVAL(target_poll(target)); - } else { - jtag_poll_set_enabled(false); + } return ERROR_OK; @@ -476,7 +473,6 @@ struct target_type nds32_v3m_target = { .assert_reset = nds32_assert_reset, .deassert_reset = nds32_v3m_deassert_reset, - .soft_reset_halt = nds32_v3_soft_reset_halt, /* register access */ .get_gdb_reg_list = nds32_get_gdb_reg_list, @@ -508,4 +504,7 @@ struct target_type nds32_v3m_target = { .target_create = nds32_v3m_target_create, .init_target = nds32_v3_init_target, .examine = nds32_v3m_examine, + + .get_gdb_fileio_info = nds32_get_gdb_fileio_info, + .gdb_fileio_end = nds32_gdb_fileio_end, };