ARM11: fix dbgtap JTAG_DEBUG

There is no DEBUG() macro; don't call one!  Always at
least *parse* debug code, to help prevent such errors.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell 2009-11-28 11:28:17 -08:00
parent acbe054a38
commit 30f6142fc8
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@
#include "time_support.h"
#if 0
#define JTAG_DEBUG(expr ...) DEBUG(expr)
#define JTAG_DEBUG(expr ...) do { if (1) LOG_DEBUG(expr); } while (0)
#else
#define JTAG_DEBUG(expr ...) do {} while (0)
#define JTAG_DEBUG(expr ...) do { if (0) LOG_DEBUG(expr); } while (0)
#endif
/*