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
>> +#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
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
>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
4 matches
Mail list logo