Dear Marek Vasut, In message <201110300039.59309.marek.va...@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 -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Hokey religions and ancient weapons are no substitute for a good blaster at your side. - Han Solo _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot