Re: [U-Boot] DEBUG macro granularity

2011-01-28 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > There is a great big DEBUG define which determines whether debug() is a > printf() or a nop. This is used by various modules to make them more verbose > which is helpful sometimes. > > Some modules have their own finer control over this, for example U

[U-Boot] DEBUG macro granularity

2011-01-27 Thread Simon Glass
Hi, There is a great big DEBUG define which determines whether debug() is a printf() or a nop. This is used by various modules to make them more verbose which is helpful sometimes. Some modules have their own finer control over this, for example USB_DEBUG in common/usb.c. Also: $ grep -rsl _PRIN