Re: [U-Boot] [PATCH v2 2/3] Fix 2k page size NAND for iMX27

2009-08-03 Thread Scott Wood
On Sat, Aug 01, 2009 at 08:28:30AM +0200, Eric Bénard wrote: > Scott Wood a écrit : > >On Wed, Jul 15, 2009 at 05:18:40PM +0200, Eric Benard wrote: > >>Signed-off-by: Eric Benard > >>--- > >> drivers/nand/nand_imx.c | 20 +--- > >> include/asm-arm/arch-imx/imx-nand.h |

Re: [U-Boot] [PATCH v2 2/3] Fix 2k page size NAND for iMX27

2009-07-31 Thread Eric Bénard
Scott Wood a écrit : > On Wed, Jul 15, 2009 at 05:18:40PM +0200, Eric Benard wrote: >> Signed-off-by: Eric Benard >> --- >> drivers/nand/nand_imx.c | 20 +--- >> include/asm-arm/arch-imx/imx-nand.h |3 ++- >> 2 files changed, 19 insertions(+), 4 deletions(-) > >

Re: [U-Boot] [PATCH v2 2/3] Fix 2k page size NAND for iMX27

2009-07-31 Thread Scott Wood
On Wed, Jul 15, 2009 at 05:18:40PM +0200, Eric Benard wrote: > Signed-off-by: Eric Benard > --- > drivers/nand/nand_imx.c | 20 +--- > include/asm-arm/arch-imx/imx-nand.h |3 ++- > 2 files changed, 19 insertions(+), 4 deletions(-) What tree is this against? The

Re: [U-Boot] [PATCH v2 2/3] Fix 2k page size NAND for iMX27

2009-07-16 Thread Eric Bénard
Scott Wood a écrit : > On Wed, Jul 15, 2009 at 05:18:40PM +0200, Eric Benard wrote: >> +if (pdata->is2k) { >> +host->pagesize_2k = 1; >> +NFMS |= (1 << NFMS_BIT); >> +this->badblock_pattern = &smallpage_memorybased; > > Why are you using the small-page badbl

Re: [U-Boot] [PATCH v2 2/3] Fix 2k page size NAND for iMX27

2009-07-16 Thread Scott Wood
On Wed, Jul 15, 2009 at 05:18:40PM +0200, Eric Benard wrote: > static int __init imxnd_probe(struct device_d *dev) > { > struct nand_chip *this; > @@ -969,7 +978,7 @@ static int __init imxnd_probe(struct device_d *dev) > struct imx_nand_host *host; > u16 tmp; > int err = 0