summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-09-07 20:22:38 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-09-20 13:08:16 +0200
commit1dbb7ba47259f99905b590d6118771113edfc142 (patch)
tree7a82957af59851b722066ec5b43e90f18beaabdb
parentf613011aa0232d1cc8a9db1e739fa63ccf5ffcfa (diff)
downloadopenocd+libswd-1dbb7ba47259f99905b590d6118771113edfc142.tar.gz
openocd+libswd-1dbb7ba47259f99905b590d6118771113edfc142.tar.bz2
openocd+libswd-1dbb7ba47259f99905b590d6118771113edfc142.tar.xz
openocd+libswd-1dbb7ba47259f99905b590d6118771113edfc142.zip
zy1000: remove obsolete debug code
Obsolete code clutter Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
-rw-r--r--src/jtag/zy1000/jtag_minidriver.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/jtag/zy1000/jtag_minidriver.h b/src/jtag/zy1000/jtag_minidriver.h
index 7e13f666..4e99d3cb 100644
--- a/src/jtag/zy1000/jtag_minidriver.h
+++ b/src/jtag/zy1000/jtag_minidriver.h
@@ -25,15 +25,8 @@
#include <cyg/hal/hal_io.h> // low level i/o
#include <cyg/hal/hal_intr.h> // low level i/o
-
-#if 0
-int diag_printf(const char *fmt, ...);
-#define ZY1000_POKE(a, b) HAL_WRITE_UINT32(a, b); diag_printf("poke 0x%08x,0x%08x\n", a, b)
-#define ZY1000_PEEK(a, b) HAL_READ_UINT32(a, b); diag_printf("peek 0x%08x = 0x%08x\n", a, b)
-#else
#define ZY1000_PEEK(a, b) HAL_READ_UINT32(a, b)
#define ZY1000_POKE(a, b) HAL_WRITE_UINT32(a, b)
-#endif
#else