[U-Boot] [PATCH v2 3/8] USB-CDC: Use native debug printout macros

Vitaly Kuzmichev vkuzmichev at mvista.com
Fri Aug 13 15:12:25 CEST 2010


Hi,

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.


More information about the U-Boot mailing list