Skip to content
Snippets Groups Projects
Commit 15305c2f authored by Graham Moore's avatar Graham Moore Committed by Masahiro Yamada
Browse files

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.

[ Linux commit : 271707b1d817f5104e02b2bd1bab43f0c8759418 ]

Signed-off-by: default avatarGraham Moore <grmoore@opensource.altera.com>
[Brian: parentheses around macro arg]
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
[Masahiro: import from Linux and adjust ioread32() to readl() ]
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 080c499d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment