]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: Fix on-die ecc issues in arasan_nfc driver
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Mon, 20 Jan 2020 06:59:23 +0000 (23:59 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 28 Feb 2020 11:04:10 +0000 (12:04 +0100)
commit4c2c28a46571498c55b38d988ace3d176368ed6b
treee7f91dd1c83f14efeebaa6a5b6fdec089f571c9f
parent65bcca9f52af8ff88d46de317a9ca6e8a2da5d69
mtd: nand: Fix on-die ecc issues in arasan_nfc driver

Fixed wrong enumeration of nand_config structure. Added chip select
function before reading the nand chip for maf/dev id's, without this
unable to access id's from some of the micron chips. Also added a
print statement to identify if a nand flash is using on-die ecc.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/raw/arasan_nfc.c