]> git.sur5r.net Git - u-boot/commit
nand: arasan_nfc: Use the calculated ecc address for updating ecc register
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 4 Jan 2018 10:34:22 +0000 (16:04 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Jan 2018 13:29:07 +0000 (14:29 +0100)
commitf25ac66c528553a38d349c563d67d0eebbdd77f9
tree525378bbe22a1020885976e2f88ba376d9f1a55b
parentcacb8a029fa1d1c140625f18e01663817a2d1b7f
nand: arasan_nfc: Use the calculated ecc address for updating ecc register

This patch corrects the ecc address calculation before updating
to ecc register. The ecc address has to be calculated based on
page, oob and ecc sizes of the device.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/arasan_nfc.c