From: Enrico Scholz Date: Fri, 29 Aug 2008 10:59:48 +0000 (+0200) Subject: [MTD] [NAND] pxa3xx_nand: allow to define flash types in the platform data X-Git-Tag: v2.6.28-rc1~105^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8ac3f818e1183eab8d08a41b01b6078c5df4b43;p=pandora-kernel.git [MTD] [NAND] pxa3xx_nand: allow to define flash types in the platform data This patch adds 'flash' and 'num_flash' attributes to the platform data. There was added code in the driver to iterate across these attributes in the detect-flash routine. This is done similarly to the existing method which uses a 'builtin_flash_types' field. Signed-off-by: Enrico Scholz Signed-off-by: David Woodhouse --- Reading git-diff-tree failed