summaryrefslogtreecommitdiff
path: root/src/target/arm720t.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 07:33:43 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-11 07:33:43 +0000
commit1524e3c4aa8d4ca2682b765e7bcf39a34a661b61 (patch)
treee8ae5184b9dae5557c4b25b87fb52f8fcd69196d /src/target/arm720t.c
parenta79945b7a966ce95a2ebb2cd6cba657cfb36d986 (diff)
downloadopenocd+libswd-1524e3c4aa8d4ca2682b765e7bcf39a34a661b61.tar.gz
openocd+libswd-1524e3c4aa8d4ca2682b765e7bcf39a34a661b61.tar.bz2
openocd+libswd-1524e3c4aa8d4ca2682b765e7bcf39a34a661b61.tar.xz
openocd+libswd-1524e3c4aa8d4ca2682b765e7bcf39a34a661b61.zip
switch to jtag_add_callback() - USB performance fix
git-svn-id: svn://svn.berlios.de/openocd/trunk@1725 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm720t.c')
-rw-r--r--src/target/arm720t.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/target/arm720t.c b/src/target/arm720t.c
index 0dbfdb41..37663302 100644
--- a/src/target/arm720t.c
+++ b/src/target/arm720t.c
@@ -117,10 +117,9 @@ int arm720t_scan_cp15(target_t *target, u32 out, u32 *in, int instruction, int c
if (in)
{
- u8 tmp[4];
- fields[1].in_value = tmp;
- jtag_add_dr_scan_now(2, fields, TAP_INVALID);
- *in=flip_u32(le_to_h_u32(tmp), 32);
+ fields[1].in_value = (u8 *)in;
+ jtag_add_dr_scan(2, fields, TAP_INVALID);
+ jtag_add_callback(arm7flip32, (u8 *)in);
} else
{
jtag_add_dr_scan(2, fields, TAP_INVALID);