summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}