]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: arasan_nfc: Correct nand ecc initialization
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 25 May 2016 09:50:38 +0000 (15:20 +0530)
committerScott Wood <oss@buserror.net>
Sat, 4 Jun 2016 01:27:48 +0000 (20:27 -0500)
commita39d14406a1e8dfbbbd3b549d411edbba40fd454
tree94810691260df044f4206e46b9e6f56b370244d9
parentb2f1858455e99a91aeafe59ac73c6c047106d5e8
mtd: nand: arasan_nfc: Correct nand ecc initialization

Correct the nand ecc initialization code
This fixes the issue of incorrect nand ecc
init if no device is found in ecc_matrix then
it endsup ecc init with junk initialization
instead of the most suited one.

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