From: Øyvind Harboe Date: Tue, 7 Sep 2010 18:22:38 +0000 (+0200) Subject: zy1000: remove obsolete debug code X-Git-Tag: v0.5.0-rc1~412 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1dbb7ba47259f99905b590d6118771113edfc142;p=openocd zy1000: remove obsolete debug code Obsolete code clutter Signed-off-by: Øyvind Harboe --- 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 // low level i/o #include // 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