Add conditionalized debug() print macro.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
Jon Loeliger 2008-09-05 14:25:44 -05:00 committed by Jon Loeliger
parent 4e1a0a0129
commit 2ebe88df69

7
dtc.h
View file

@ -36,6 +36,13 @@
#include "util.h" #include "util.h"
#ifdef DEBUG
#define debug(fmt,args...) printf(fmt, ##args)
#else
#define debug(fmt,args...)
#endif
#define DEFAULT_FDT_VERSION 17 #define DEFAULT_FDT_VERSION 17
/* /*