mtd: nand: sunxi: retrieve corrected OOB bytes
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 30 Sep 2015 21:45:27 +0000 (23:45 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 2 Oct 2015 18:09:51 +0000 (11:09 -0700)
commitf363e0faa8bd5adb00739086db75713c669b4d9e
treec72618cf71cb9e1f8a53187aad631530395ebf07
parent35d0e24f09d00e27eae3484784feee24effc23c5
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>
drivers/mtd/nand/sunxi_nand.c
This page took 0.024603 seconds and 5 git commands to generate.