]> git.sur5r.net Git - openocd/commitdiff
zy1000: remove obsolete debug code
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 7 Sep 2010 18:22:38 +0000 (20:22 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Mon, 20 Sep 2010 11:08:16 +0000 (13:08 +0200)
Obsolete code clutter

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/zy1000/jtag_minidriver.h

index 7e13f6668262826e85b011787f6e275a8482d94f..4e99d3cbf71d770f5ccd0049c4f89b9bd2e65554 100644 (file)
 
 #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