]> git.baikalelectronics.ru Git - kernel.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)
commit132cd223387369a6618c7aa2ae2360a4adf97fc7
tree94a3972a33185416ab837b49594c85d2b05ceeb4
parent286aa53dd2f9b47f3b75e84212bd0d136a615322
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