summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 11:37:15 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-21 11:37:15 +0000
commit5b4679618a0f1b14f6ee47fc30cf27f77375f2d4 (patch)
tree0b4c00995047be396a92bf8317ee3b1d8d2f4778 /src
parent837555ab24ab32af163b5dd295dcdbc3c238ad6f (diff)
downloadopenocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.tar.gz
openocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.tar.bz2
openocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.tar.xz
openocd+libswd-5b4679618a0f1b14f6ee47fc30cf27f77375f2d4.zip
Zach Welch <zw@superlucidity.net> add --enable-verbose* options
git-svn-id: svn://svn.berlios.de/openocd/trunk@1495 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/arm-jtag-ew.c13
-rw-r--r--src/jtag/ft2232.c12
-rw-r--r--src/jtag/jlink.c12
-rw-r--r--src/jtag/jtag.h6
4 files changed, 4 insertions, 39 deletions
diff --git a/src/jtag/arm-jtag-ew.c b/src/jtag/arm-jtag-ew.c
index 4acea8d6..9e06f5e9 100644
--- a/src/jtag/arm-jtag-ew.c
+++ b/src/jtag/arm-jtag-ew.c
@@ -35,19 +35,6 @@
#include "log.h"
-/* enable this to debug communication
- */
-#if 1
-#define _DEBUG_USB_COMMS_
-#define _DEBUG_JTAG_IO_
-#endif
-
-#ifdef _DEBUG_JTAG_IO_
-#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
-#else
-#define DEBUG_JTAG_IO(expr ...)
-#endif
-
#define USB_VID 0x15ba
#define USB_PID 0x001e
diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c
index 48c10355..8cc93bfa 100644
--- a/src/jtag/ft2232.c
+++ b/src/jtag/ft2232.c
@@ -58,18 +58,6 @@
#include <ftdi.h>
#endif
-/* enable this to debug io latency
- */
-#if 0
-#define _DEBUG_USB_IO_
-#endif
-
-/* enable this to debug communication
- */
-#if 0
-#define _DEBUG_USB_COMMS_
-#endif
-
static int ft2232_execute_queue(void);
static int ft2232_speed(int speed);
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c
index 6c6e8feb..1c7a3988 100644
--- a/src/jtag/jlink.c
+++ b/src/jtag/jlink.c
@@ -34,18 +34,6 @@
#include "log.h"
-/* enable this to debug communication
- */
-#if 0
-#define _DEBUG_USB_COMMS_
-#endif
-
-#ifdef _DEBUG_JTAG_IO_
-#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
-#else
-#define DEBUG_JTAG_IO(expr ...)
-#endif
-
#define VID 0x1366
#define PID 0x0101
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index 64f80480..4f348062 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -30,8 +30,10 @@
#include "command.h"
-#if 0
-#define _DEBUG_JTAG_IO_
+#ifdef _DEBUG_JTAG_IO_
+#define DEBUG_JTAG_IO(expr ...) LOG_DEBUG(expr)
+#else
+#define DEBUG_JTAG_IO(expr ...)
#endif
#ifndef DEBUG_JTAG_IOZ