From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Gehrlein Date: Wed, 02 Jul 2008 07:28:33 +0200 Subject: [U-Boot-Users] [PATCH 2/2] Remove prototypes of nand_init() in favor of including nand.h. In-Reply-To: <486A4830.10300@freescale.com> References: <20080522155317.GB25382@ld0162-tx32.am.freescale.net> <486A4282.2080102@tqs.de> <486A4830.10300@freescale.com> Message-ID: <486B1201.5030500@tqs.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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