From 8ce828dd382c907db4c6bd38e5b54996e50327fd Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Thu, 18 Mar 2010 18:31:58 +0100 Subject: jtag: remove jtag_get_end_state()'s that should be unecessary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By a bit of code inspection it seems like all of these instances of jtag_get_end_state() can be unambigously replaced by constants. Signed-off-by: Øyvind Harboe --- src/target/arm9tdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/arm9tdmi.c') diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index b4b6f04a..4f28599a 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -186,7 +186,7 @@ int arm9tdmi_clock_out(struct arm_jtag *jtag_info, uint32_t instr, jtag_add_dr_scan(jtag_info->tap, 3, fields, TAP_DRPAUSE); } - jtag_add_runtest(0, jtag_get_end_state()); + jtag_add_runtest(0, TAP_DRPAUSE); #ifdef _DEBUG_INSTRUCTION_EXECUTION_ { -- cgit v1.2.3