mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Add conditionalized debug() print macro.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
4e1a0a0129
commit
2ebe88df69
1 changed files with 7 additions and 0 deletions
7
dtc.h
7
dtc.h
|
@ -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…
Add table
Add a link
Reference in a new issue