
30 Oct
2011
30 Oct
'11
9:12 p.m.
Dear Marek Vasut,
In message 201110300039.59309.marek.vasut@gmail.com you wrote:
-#undef DEBUG_RTC
-#ifdef DEBUG_RTC -#define DEBUGR(fmt,args...) printf(fmt ,##args) -#else -#define DEBUGR(fmt,args...) -#endif -/*-------------------------------------------------------------------- -*/ -
This undermines the ability of fine-grained debuging output, right? Now you can only debug whole uboot or nothing ... correct me if I'm wrong please.
The normal way to enable debugging on file scope is to compile only the respective files with DEBUG defined.
Best regards,
Wolfgang Denk
Roger that !!