summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-09 12:58:19 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-04-09 12:58:19 +0000
commitb22ae9006ba052f6cafb6c5a3336d342974c0f95 (patch)
tree28840462f14b7bb769dcfbdca0e39d5c7f4c06b1
parent23939e4fc3400aa6f781ac364d9fd8c2cf66449a (diff)
downloadopenocd+libswd-b22ae9006ba052f6cafb6c5a3336d342974c0f95.tar.gz
openocd+libswd-b22ae9006ba052f6cafb6c5a3336d342974c0f95.tar.bz2
openocd+libswd-b22ae9006ba052f6cafb6c5a3336d342974c0f95.tar.xz
openocd+libswd-b22ae9006ba052f6cafb6c5a3336d342974c0f95.zip
back out Don Porges workaround for some device with manufcaturer # 0x1a2
git-svn-id: svn://svn.berlios.de/openocd/trunk@555 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/jtag/jtag.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index b177c8e2..8ebd92b1 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -1288,8 +1288,6 @@ void jtag_sleep(u32 us)
usleep(us);
}
-int cwvx_device_num = -1, cwvx_version_num, cwvx_part_num;
-
/* Try to examine chain layout according to IEEE 1149.1 §12
*/
int jtag_examine_chain()
@@ -1370,13 +1368,6 @@ int jtag_examine_chain()
LOG_INFO("JTAG device found: 0x%8.8x (Manufacturer: 0x%3.3x, Part: 0x%4.4x, Version: 0x%1.1x)",
idcode, manufacturer, part, version);
- /* Total hacky hack! PORGES */
- if (manufacturer == 0x1a2) {
- cwvx_device_num = device_count-1;
- cwvx_part_num = part;
- cwvx_version_num = version;
- }
-
bit_count += 32;
}
}