From: Florian Fainelli Date: Mon, 30 Aug 2010 16:32:24 +0000 (+0200) Subject: mtd: nand: add support for reading ONFI parameters from NAND device X-Git-Tag: v2.6.37-rc1~22^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1e1f4e42b5df063712ca2926e50c07b95c96b96;p=pandora-kernel.git mtd: nand: add support for reading ONFI parameters from NAND device This patch adds support for reading NAND device ONFI parameters and use the ONFI informations to define its geometry. In case the device supports ONFI, the onfi_version field in struct nand_chip contains the version (BCD) and the onfi_params structure can be used by drivers to set up timings and such. We currently only support ONFI 1.0 parameters. Signed-off-by: Brian Norris Signed-off-by: Matthieu Castet Signed-off-by: Maxime Bizon Signed-off-by: Florian Fainelli Signed-off-by: David Woodhouse --- Reading git-diff-tree failed