mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-14 00:37:41 -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"
|
#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
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue