
7 Feb
2015
7 Feb
'15
11:46 p.m.
Dear Josh Wu,
Josh Wu Josh.wu@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@atmel.com Acked-by: Bo Shen voice.shen@atmel.com Acked-by: Andreas Bießmann andreas.devel@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