From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Gehrlein Date: Tue, 01 Jul 2008 16:43:14 +0200 Subject: [U-Boot-Users] [PATCH 2/2] Remove prototypes of nand_init() in favor of including nand.h. In-Reply-To: <20080522155317.GB25382@ld0162-tx32.am.freescale.net> References: <20080522155317.GB25382@ld0162-tx32.am.freescale.net> Message-ID: <486A4282.2080102@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: > Signed-off-by: Scott Wood > --- > lib_arm/board.c | 10 ++-------- > lib_ppc/board.c | 4 +--- > lib_sh/board.c | 2 +- > 3 files changed, 4 insertions(+), 12 deletions(-) > > diff --git a/lib_arm/board.c b/lib_arm/board.c > index 67506b3..5e04553 100644 > --- a/lib_arm/board.c > +++ b/lib_arm/board.c > @@ -45,6 +45,8 @@ > #include > #include > #include > +#include 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. Best Regards, Jens