[U-Boot] [PATCH v2] OneNAND: Bad block aware read/write command support

Stefan Roese sr at denx.de
Sat Nov 8 06:30:58 CET 2008


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
=====================================================================


More information about the U-Boot mailing list