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

Vitaly Kuzmichev vkuzmichev at mvista.com
Fri Aug 13 15:40:00 CEST 2010


Hi Stefano,

Stefano Babic wrote:
> If you want to remember how to set the debug output, it should be enough
> to add a comments with "to enable the debugging, define DEBUG before
> common.h" or something like that. I vote to remove only the two lines...

Would not it be better to make one of the following?
1)
#if 0
#define DEBUG
#endif

2)
#ifdef CONFIG_USB_ETH_DEBUG
#define DEBUG
#endif


More information about the U-Boot mailing list