Re: [U-Boot] [PATCH v2] NAND: Add 16bit NAND support for the NDFC

2011-06-07 Thread Scott Wood
On Tue, 7 Jun 2011 08:33:25 -0400 Alex Waterman wrote: > > >> +#ifdef CONFIG_SYS_NDFC_16BIT > >>/* Shift the offset from byte addressing to word addressing. */ > >> - if (this->options & NAND_BUSWIDTH_16) > >> - offs >>= 1; > >> + offs >>= 1; > >> +#endif > > > > This is not an N

Re: [U-Boot] [PATCH v2] NAND: Add 16bit NAND support for the NDFC

2011-06-07 Thread Alex Waterman
>> +#ifdef CONFIG_SYS_NDFC_16BIT >> /* Shift the offset from byte addressing to word addressing. */ >> -if (this->options & NAND_BUSWIDTH_16) >> -offs >>= 1; >> +offs >>= 1; >> +#endif > > This is not an NDFC-specific file. Oh, yeah, I see. This should not have been swap

Re: [U-Boot] [PATCH v2] NAND: Add 16bit NAND support for the NDFC

2011-06-06 Thread Scott Wood
On Fri, May 27, 2011 at 10:00:07AM -0400, Alex Waterman wrote: > diff --git a/nand_spl/nand_boot.c b/nand_spl/nand_boot.c > index 9545a9a..725356f 100644 > --- a/nand_spl/nand_boot.c > +++ b/nand_spl/nand_boot.c > @@ -80,9 +80,10 @@ static int nand_command(struct mtd_info *mtd, int block, > int pa

[U-Boot] [PATCH v2] NAND: Add 16bit NAND support for the NDFC

2011-05-27 Thread Alex Waterman
>From dc3cda4054bc94c2ae3c1d104b5162681a16e7ac Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 19 May 2011 15:08:36 -0400 Subject: [PATCH v2] NAND: Add 16bit NAND support for the NDFC This patch adds support for 16 bit NAND devices attached to the NDFC on ppc4xx processors. Two config en