[PATCH] Disable Subpage nand write when using Atmel PMECC
Brian Norris
computersforpeace at gmail.com
Fri Mar 7 03:02:51 EST 2014
On Fri, Mar 07, 2014 at 11:59:46AM +0800, Josh Wu wrote:
> On 3/3/2014 7:15 PM, Herve Codina wrote:
> >Crash detected on sam5d35 and its pmecc nand ecc controller.
> >
> >The problem was a call to chip->ecc.hwctl from nand_write_subpage_hwecc
> >(nand_base.c) when we write a sub page.
> >chip->ecc.hwctl function is not set when we are using PMECC controller.
> >As a workaround, set NAND_NO_SUBPAGE_WRITE for PMECC controller in
> >order to disable sub page access in nand_write_page.
> >
> >
> >Signed-off-by: Herve Codina <Herve.CODINA at celad.com>
>
> Acked-by: Josh Wu <josh.wu at atmel.com>
Pushed to l2-mtd.git. Thanks!
Brian
More information about the linux-arm-kernel
mailing list