mtd: nand: denali: max_banks calculation changed in revision 5.1

Read Denali hardware revision number and use it to
calculate max_banks,  The encoding of max_banks changed
in Denali revision 5.1.

Signed-off-by: Graham Moore <grmoore@opensource.altera.com>
[Brian: parentheses around macro arg]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
Graham Moore 2015-07-21 09:39:31 -05:00 • committed by Brian Norris
commit 271707b1d8
2 changed files with 12 additions and 1 deletions