From 1dbb7ba47259f99905b590d6118771113edfc142 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Harboe?= Date: Tue, 7 Sep 2010 20:22:38 +0200 Subject: [PATCH] zy1000: remove obsolete debug code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Obsolete code clutter Signed-off-by: Øyvind Harboe --- src/jtag/zy1000/jtag_minidriver.h | 7 ------- 1 file changed, 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 // 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 -- 2.39.5