From: Wolfgang Denk Date: Wed, 09 Jul 2008 23:52:12 +0200 Subject: [U-Boot-Users] [PATCH 2/2] Remove prototypes of nand_init() in favor of including nand.h. In-Reply-To: Your message of "Tue, 01 Jul 2008 10:07:28 CDT." <486A4830.10300@freescale.com> Message-ID: <20080709215212.8909A24304@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <486A4830.10300@freescale.com> you wrote: > 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. When will I see a pull request so this gets fixed in mainline, too? I would like to have some -rc1 later this week. Thanks in advance. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You are an excellent tactician, Captain. You let your second in com- mand attack while you sit and watch for weakness. -- Khan Noonian Singh, "Space Seed", stardate 3141.9