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