From f809ee69357b1968443c58c7df91897249e0bc3f Mon Sep 17 00:00:00 2001
From: ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Mon, 3 Nov 2008 14:27:57 +0000
Subject: [PATCH] - fix issue with jlink/libusb timeout under linux - add
 missing svn props

git-svn-id: svn://svn.berlios.de/openocd/trunk@1128 b42882b7-edfa-0310-969c-e2dbd0fdcd60
---
 src/jtag/jlink.c            |  2 +-
 src/target/target/imx27.cfg | 24 ++++++++++++------------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c
index c81e9a029..7f16f365e 100644
--- a/src/jtag/jlink.c
+++ b/src/jtag/jlink.c
@@ -52,7 +52,7 @@
 #define JLINK_WRITE_ENDPOINT	0x02
 #define JLINK_READ_ENDPOINT		0x81
 
-#define JLINK_USB_TIMEOUT		100
+#define JLINK_USB_TIMEOUT		1000
 
 #define JLINK_IN_BUFFER_SIZE			8192
 #define JLINK_OUT_BUFFER_SIZE			8192
diff --git a/src/target/target/imx27.cfg b/src/target/target/imx27.cfg
index 6d3cd6be2..c6fdf41c3 100644
--- a/src/target/target/imx27.cfg
+++ b/src/target/target/imx27.cfg
@@ -1,12 +1,12 @@
-#use combined on interfaces or targets that can't set TRST/SRST separately
-reset_config trst_and_srst
-
-# There are 2 taps on the chip:
-# The ETM
-jtag_device 4 0x1 0xf 0xe
-# The ARM926EJS
-jtag_device 4 0x1 0xf 0xe
-
-# Note above there are 2 taps (#0 and #1) the ARM926 is the 2nd tap (ie #1)
-target create target0 arm926ejs -endianess little -chain-position 1 -variant arm926ejs
-
+#use combined on interfaces or targets that can't set TRST/SRST separately
+reset_config trst_and_srst
+
+# There are 2 taps on the chip:
+# The ETM
+jtag_device 4 0x1 0xf 0xe
+# The ARM926EJS
+jtag_device 4 0x1 0xf 0xe
+
+# Note above there are 2 taps (#0 and #1) the ARM926 is the 2nd tap (ie #1)
+target create target0 arm926ejs -endianess little -chain-position 1 -variant arm926ejs
+
-- 
GitLab