[PATCH 4/7] at91/boards: switch to software ecc as in linux kernel
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Sep 19 05:37:16 EDT 2011
On 11:18 Mon 19 Sep , Sascha Hauer wrote:
> On Fri, Sep 16, 2011 at 02:23:45PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > ---
> > arch/arm/boards/at91sam9260ek/init.c | 2 +-
> > arch/arm/boards/at91sam9263ek/init.c | 2 +-
> > arch/arm/boards/pm9263/init.c | 2 +-
> > arch/arm/mach-at91/at91sam9g45_devices.c | 2 +-
> > 4 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/arch/arm/boards/at91sam9260ek/init.c b/arch/arm/boards/at91sam9260ek/init.c
> > index 861e898..e4b98bf 100644
> > --- a/arch/arm/boards/at91sam9260ek/init.c
> > +++ b/arch/arm/boards/at91sam9260ek/init.c
> > @@ -64,7 +64,7 @@ static struct atmel_nand_data nand_pdata = {
> > .cle = 22,
> > /* .det_pin = ... not connected */
> > .ecc_base = (void __iomem *)(AT91_BASE_SYS + AT91_ECC),
> > - .ecc_mode = NAND_ECC_HW,
> > + .ecc_mode = NAND_ECC_SOFT,
>
> What does the Atmel nand bootloader expect (I assume it's possible to
> boot from NAND, right?). Is it software or hardware ecc?
don't care the ecc is not manage by the rom code
Best Regards,
J.
More information about the barebox
mailing list