fix for gaffe in 555 that stopped JTAG chain examine + validate from running.
git-svn-id: svn://svn.berlios.de/openocd/trunk@588 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
78489fb230
commit
a13764b5d0
|
@ -1523,7 +1523,7 @@ static int jtag_init_inner(struct command_context_s *cmd_ctx)
|
||||||
jtag_device_t *device;
|
jtag_device_t *device;
|
||||||
int retval;
|
int retval;
|
||||||
|
|
||||||
LOG_DEBUG("-");
|
LOG_DEBUG("Init JTAG chain");
|
||||||
|
|
||||||
device = jtag_devices;
|
device = jtag_devices;
|
||||||
jtag_ir_scan_size = 0;
|
jtag_ir_scan_size = 0;
|
||||||
|
@ -1536,7 +1536,7 @@ static int jtag_init_inner(struct command_context_s *cmd_ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
jtag_add_tlr();
|
jtag_add_tlr();
|
||||||
if ((retval=jtag_execute_queue())==ERROR_OK)
|
if ((retval=jtag_execute_queue())!=ERROR_OK)
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
/* examine chain first, as this could discover the real chain layout */
|
/* examine chain first, as this could discover the real chain layout */
|
||||||
|
|
Loading…
Reference in New Issue