]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: nand: denali: pass col argument to READID operation
authorEnrico Jorns <ejo@pengutronix.de>
Fri, 18 Sep 2015 08:02:41 +0000 (10:02 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 29 Sep 2015 18:31:55 +0000 (11:31 -0700)
commit9c07d094bbfe3d09e4c3e01a81cd1399bd23b268
tree94a3972a33185416ab837b49594c85d2b05ceeb4
parent16c863bbf4dabc1ff67d5c67d2d6e614211528d4
mtd: nand: denali: pass col argument to READID operation

A read id operation followed by 0x00 reads the device ID while
a read id operation followed by 0x20 reads the possible ONFI identifier.

As the READID function did not propagate the second id parameter but had
a hard-coded call for 0x90 0x00, reading the ONFI identifier was not
possible and thus chips werde not detected (tested with
MT29F8G08ABABAWP)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/denali.c