commit | bc27ede371b0931086e9cef72e30a58fdedc4709 | [log] [tgz] |
---|---|---|
author | Jamie Iles <jamie@jamieiles.com> | Mon Jun 06 17:11:34 2011 +0100 |
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | Sun Sep 11 15:02:04 2011 +0300 |
tree | fd3e6a36cacd4c53ca53ddf5669e68b62cc0eb4f | |
parent | 0dc8626a17ab8dea9f1e34c7a5d667f5331b0ddc [diff] |
mtd: denali: detect the number of banks before resetting NAND Commit c89eeda810f0ec4f0eee0206ebb79e476df9f83e (mtd: denali: detect the number of banks) introduced runtime detection of the number of banks. However, denali_nand_reset() uses uses denanli_nand_info::max_banks so we need to detect the maximum number of banks before doing the reset. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>