[U-Boot] [PATCH v2 3/8] USB-CDC: Use native debug printout macros
Sergei Shtylyov
sshtylyov at mvista.com
Fri Aug 13 16:38:12 CEST 2010
Hello.
Vitaly Kuzmichev wrote:
> Rogan Dawes wrote:
>>> +#define DEBUG
>>> +#undef DEBUG
>>> +
>> Eh?
> Such thing is used to let someone know that this driver supports debug
> output through native U-Boot macros. So one need to comment #undef to
> compile ether.c with debug messages.
> There are at least 67 files in U-Boot that use such construction.
I'd suggest leaving just #undef DEBUG (which can be edited into #define
DEBUG if desired)...
WBR, Sergei
More information about the U-Boot
mailing list