commit | f363e0faa8bd5adb00739086db75713c669b4d9e | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | Wed Sep 30 23:45:27 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Fri Oct 02 11:09:51 2015 -0700 |
tree | c72618cf71cb9e1f8a53187aad631530395ebf07 | |
parent | 35d0e24f09d00e27eae3484784feee24effc23c5 [diff] |
mtd: nand: sunxi: retrieve corrected OOB bytes The ECC engine is protecting a few OOB bytes. Retrieve them from the USER_DATA register instead of reading them in raw mode (ie without the ECC protection). Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>