[U-Boot-Users] [PATCH 2/2] Remove prototypes of nand_init() in favor of including nand.h.

Scott Wood scottwood at freescale.com
Tue Jul 1 17:07:28 CEST 2008


Jens Gehrlein wrote:
> Today, I updated my local git tree to the current U-Boot. Running my 
> board I saw the message "RAM Configuration:", which didn't appear before.
> 
> I think the reason is the following:
> nand.h includes linux/mtd/mtd.h, which defines a macro
> #define DEBUG(n, args...) do { } while(0).
> This causes #ifdef DEBUG in line 198 of board.c to become true.
> 
> Could you please fix this?
> Thank you very much.

It's already fixed in u-boot-nand-flash.git.

-Scott




More information about the U-Boot mailing list