[U-Boot] [PATCH v2 6/7] mtd: nand: add driver for diskonchip g4 nand flash
Marek Vasut
marex at denx.de
Fri Apr 12 19:27:09 CEST 2013
Dear Scott Wood,
[...]
>
> [snip]
>
> > +#ifdef DEBUG_DOCG4
> > +#define dbg(format, arg...) printf("DEBUG: " format, ##arg)
> > +#else
> > +#define dbg(format, arg...) do {} while (0)
> > +#endif
There already is a debugging facility in include/common.h too. And it does the
same thing too. MTDDEBUG might work as well.
Best regards,
Marek Vasut
More information about the U-Boot
mailing list