diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-09-05 14:25:44 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2008-10-03 16:09:37 -0500 |
commit | 2ebe88df6932a3d685e43d921c9beb526129d2be (patch) | |
tree | 3c789516dcadd302eda799bee5f9cc3cd83a7d9a /dtc.h | |
parent | 4e1a0a0129b3d197a6f9086df6e5c3874bf6f1f7 (diff) | |
download | dtc-2ebe88df6932a3d685e43d921c9beb526129d2be.zip dtc-2ebe88df6932a3d685e43d921c9beb526129d2be.tar.gz dtc-2ebe88df6932a3d685e43d921c9beb526129d2be.tar.bz2 |
Add conditionalized debug() print macro.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'dtc.h')
-rw-r--r-- | dtc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -36,6 +36,13 @@ #include "util.h" +#ifdef DEBUG +#define debug(fmt,args...) printf(fmt, ##args) +#else +#define debug(fmt,args...) +#endif + + #define DEFAULT_FDT_VERSION 17 /* |