[U-Boot] mtd: atmel_nand: according to pmecc version to perform 0xff page correction
Andreas Bießmann
andreas.devel at googlemail.com
Sat Feb 7 23:46:47 CET 2015
Dear Josh Wu,
Josh Wu <Josh.wu at atmel.com> writes:
>As the PMECC hardware has different version. In SAMA5D4 chip, the PMECC ip
>can generate 0xff pmecc ECC value for all 0xff sector.
>
>According to this, add PMECC version check, if it's SAMA5D4 then we always
>let PMECC hardware to correct it.
>
>Signed-off-by: Josh Wu <josh.wu at atmel.com>
>Acked-by: Bo Shen <voice.shen at atmel.com>
>Acked-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
>
> drivers/mtd/nand/atmel_nand.c | 9 +++++++++
> drivers/mtd/nand/atmel_nand_ecc.h | 20 ++++++++++++++++++++
> 2 files changed, 29 insertions(+)
applied to u-boot-atmel/master, thanks!
Best regards,
Andreas Bießmann
More information about the U-Boot
mailing list