]> 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)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 6 Jun 2016 09:23:27 +0000 (11:23 +0200)
commit7530ae087a6b97e789c40070061ab32326c5e394
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>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/arasan_nfc.c