[U-Boot-Users] ARM: DEBUG defined in MTD via NAND

Scott Wood scottwood at freescale.com
Thu Jun 19 18:22:33 CEST 2008


On Thu, Jun 19, 2008 at 11:42:29AM -0400, Scott McNutt wrote:
> 
> lib_arm/board.c now includes nand.h
>   which in turn includes linux/mtd/mtd.h
>     which defines DEBUG
> 
> So all of the #ifdef DEBUG code is getting built, which I'm sure
> isn't intentional.
> 
> I'm not sure if this was already fixed -- but I couldn't find
> any patches in the list archive.
> 
> Anyone already handle this one?

Ouch.  I'll produce a patch shortly.

-Scott




More information about the U-Boot mailing list