Dear Mike Frysinger,

In message <CAJaTeTq_=k+1kwm3szcoj-zdm0_krh9r5arp8bbej+ojj7b...@mail.gmail.com> 
you wrote:
>
> > __assert_fail() only ever gets used (and thus needs to be compiled in)
> > if DEBUG is defined, right? =A0SO why cannot you wrap the code in a
> > "#ifdef DEBUG" ?
> 
> people often enable DEBUG on a per file basis.  so if i'm debugging
> drivers/spi/bfin_spi.c, i put "#define DEBUG" at the top of it.

Right you are. I missed that.

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
Landing: a controlled mid-air collision with a planet.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to