]> git.baikalelectronics.ru Git - uboot.git/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)
commitbe21717e0c7657fc23b4d3e761a36f618125b87b
tree525378bbe22a1020885976e2f88ba376d9f1a55b
parent24ca819d800975126ed1cff1c9baa0923359662e
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