commit | 1f5c0895f38706ed913ea7e7da051818fded129e | [log] [tgz] |
---|---|---|
author | Wu, Josh <Josh.wu@atmel.com> | Fri Jan 16 11:54:46 2015 +0800 |
committer | Andreas Bießmann <andreas.devel@googlemail.com> | Sat Feb 07 23:42:57 2015 +0100 |
tree | c0a49ad6b3d6c9938fdde7dc8e1472c26d570f04 | |
parent | 683486502cf4e334f9e95209d8d8f9e36ce81c4e [diff] |
mtd: atmel_nand: according to pmecc version to perform 0xff page correction 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>