commit | c89eeda810f0ec4f0eee0206ebb79e476df9f83e | [log] [tgz] |
---|---|---|
author | Jamie Iles <jamie@jamieiles.com> | Fri May 06 15:28:57 2011 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Wed May 25 02:02:12 2011 +0100 |
tree | e01415f166a82c05b1bc4e339dda8b47689716c5 | |
parent | 9589bf5bed2936a159fc96c96339f15a512fdfa9 [diff] |
mtd: denali: detect the number of banks Not all configurations of the Denali controller support 4 banks. The controller can support between 1 and 16 banks. Detect this from the design features register. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>