mips32: Removed Unnecessary JTAG Queue Flush
jtag_execute_queue() is executed as a part of mips_ejtag_drscan_32(). No need for this to be done before - removed for optimisation.
This commit is contained in:
parent
194e3c5bc5
commit
e1466df54d
|
@ -115,18 +115,12 @@ static int wait_for_pracc_rw(struct mips_ejtag *ejtag_info, uint32_t *ctrl)
|
||||||
uint32_t ejtag_ctrl;
|
uint32_t ejtag_ctrl;
|
||||||
long long then = timeval_ms();
|
long long then = timeval_ms();
|
||||||
int timeout;
|
int timeout;
|
||||||
|
int retval;
|
||||||
|
|
||||||
/* wait for the PrAcc to become "1" */
|
/* wait for the PrAcc to become "1" */
|
||||||
mips_ejtag_set_instr(ejtag_info, EJTAG_INST_CONTROL);
|
mips_ejtag_set_instr(ejtag_info, EJTAG_INST_CONTROL);
|
||||||
ejtag_ctrl = ejtag_info->ejtag_ctrl;
|
ejtag_ctrl = ejtag_info->ejtag_ctrl;
|
||||||
|
|
||||||
int retval;
|
|
||||||
if ((retval = jtag_execute_queue()) != ERROR_OK)
|
|
||||||
{
|
|
||||||
LOG_ERROR("fastdata load failed");
|
|
||||||
return retval;
|
|
||||||
}
|
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
retval = mips_ejtag_drscan_32(ejtag_info, &ejtag_ctrl);
|
retval = mips_ejtag_drscan_32(ejtag_info, &ejtag_ctrl);
|
||||||
|
|
Loading…
Reference in New Issue