diff options
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 |
commit | 1dbb7ba47259f99905b590d6118771113edfc142 (patch) | |
tree | 7a82957af59851b722066ec5b43e90f18beaabdb /src | |
parent | f613011aa0232d1cc8a9db1e739fa63ccf5ffcfa (diff) | |
download | riscv-openocd-1dbb7ba47259f99905b590d6118771113edfc142.zip riscv-openocd-1dbb7ba47259f99905b590d6118771113edfc142.tar.gz riscv-openocd-1dbb7ba47259f99905b590d6118771113edfc142.tar.bz2 |
zy1000: remove obsolete debug code
Obsolete code clutter
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/zy1000/jtag_minidriver.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/jtag/zy1000/jtag_minidriver.h b/src/jtag/zy1000/jtag_minidriver.h index 7e13f66..4e99d3c 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 |