Browse Source

Add conditionalized debug() print macro.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
main
Jon Loeliger 17 years ago committed by Jon Loeliger
parent
commit
2ebe88df69
  1. 7
      dtc.h

7
dtc.h

@ -36,6 +36,13 @@ @@ -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

/*

Loading…
Cancel
Save