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

Jens Gehrlein sew_s at tqs.de
Wed Jul 2 07:28:33 CEST 2008


Hi Scott,

Scott Wood schrieb:
> 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

Okay. Found it. Thank you for the hint.

Kind regards,
Jens




More information about the U-Boot mailing list