commit | c8ac3f818e1183eab8d08a41b01b6078c5df4b43 | [log] [tgz] |
---|---|---|
author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | Fri Aug 29 12:59:48 2008 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Mon Sep 01 21:31:34 2008 +0100 |
tree | 3a3bbb4d0a1203226db38ae17b7c6cfb3e624e9f | |
parent | 43035338ad772b6a4097b2ac530b75390bee87c1 [diff] |
[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 <enrico.scholz@sigma-chemnitz.de> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>