Re: [U-Boot] [PATCH] [OneNAND] bad block aware read/write support

2008-11-06 Thread Stefan Roese
On Thursday 06 November 2008, Kyungmin Park wrote: > >> > + ret = mtd->read_oob(mtd, ofs, &ops); > >> > + if (ret) { > >> > + printk("Read failed 0x%x, %d", (unsigned int) ofs, > >> > ret); + mtd->block_markbad(mtd, ofs); > > > > You are marki

Re: [U-Boot] [PATCH] [OneNAND] bad block aware read/write support

2008-11-05 Thread Kyungmin Park
Hi, On Wed, Nov 5, 2008 at 5:40 PM, Stefan Roese <[EMAIL PROTECTED]> wrote: > Hi Kyungmin, > > On Tuesday 04 November 2008, Stefan Roese wrote: >> > Update OneNAND command to support bad block awareness >> > Also change the OneNAND command styel like NAND >> >> I'm starting with OneNAND support fo

Re: [U-Boot] [PATCH] [OneNAND] bad block aware read/write support

2008-11-05 Thread Stefan Roese
Hi Kyungmin, On Tuesday 04 November 2008, Stefan Roese wrote: > > Update OneNAND command to support bad block awareness > > Also change the OneNAND command styel like NAND > > I'm starting with OneNAND support for a MIPS platform right now and wasn't > ware that the onenand commands were not bad b

Re: [U-Boot] [PATCH] [OneNAND] bad block aware read/write support

2008-11-04 Thread Stefan Roese
Hi Kyungmin, On Tuesday 04 November 2008, Kyungmin Park wrote: > Update OneNAND command to support bad block awareness > Also change the OneNAND command styel like NAND I'm starting with OneNAND support for a MIPS platform right now and wasn't ware that the onenand commands were not bad block aw

[U-Boot] [PATCH] [OneNAND] bad block aware read/write support

2008-11-03 Thread Kyungmin Park
Update OneNAND command to support bad block awareness Also change the OneNAND command styel like NAND Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]> --- diff --git a/common/cmd_onenand.c b/common/cmd_onenand.c index 8d87b78..1eca9b0 100644 --- a/common/cmd_onenand.c +++ b/common/cmd_onenand.c @@