From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Sat, 8 Nov 2008 06:30:58 +0100 Subject: [U-Boot] [PATCH v2] OneNAND: Bad block aware read/write command support In-Reply-To: <20081107212635.GA25714@ld0162-tx32.am.freescale.net> References: <1226070073-29780-1-git-send-email-sr@denx.de> <20081107212635.GA25714@ld0162-tx32.am.freescale.net> Message-ID: <200811080630.58638.sr@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 On Friday 07 November 2008, Scott Wood wrote: > On Fri, Nov 07, 2008 at 04:01:13PM +0100, Stefan Roese wrote: > > Update OneNAND command to support bad block awareness. > > Also change the OneNAND command style to better match the > > NAND version. > > Is there any chance that we could merge this code with cmd_nand.c? Possibly. I'm not sure yet. I'll try to investigate this next week. > > +static struct mtd_info *mtd = &onenand_mtd; > > Will this cause relocation problems on some architectures? Yes, you're correct. I missed removing this assignment here. do_onenand() does it correctly though. I'll fix it in the next patch version. > Could you have more than one OneNAND on a board? No, currently only one OneNAND device is supported. We will add this multi-OneNAND support later. Best regards, Stefan ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================