switch to jtag_add_callback() - USB performance fix

git-svn-id: svn://svn.berlios.de/openocd/trunk@1725 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe 2009-05-11 07:33:43 +00:00
parent a79945b7a9
commit 1524e3c4aa
1 changed files with 3 additions and 4 deletions

View File

@ -117,10 +117,9 @@ int arm720t_scan_cp15(target_t *target, u32 out, u32 *in, int instruction, int c
if (in) if (in)
{ {
u8 tmp[4]; fields[1].in_value = (u8 *)in;
fields[1].in_value = tmp; jtag_add_dr_scan(2, fields, TAP_INVALID);
jtag_add_dr_scan_now(2, fields, TAP_INVALID); jtag_add_callback(arm7flip32, (u8 *)in);
*in=flip_u32(le_to_h_u32(tmp), 32);
} else } else
{ {
jtag_add_dr_scan(2, fields, TAP_INVALID); jtag_add_dr_scan(2, fields, TAP_INVALID);