]> git.sur5r.net Git - u-boot/commit
mtd: nand: denali: max_banks calculation changed in revision 5.1
authorGraham Moore <grmoore@opensource.altera.com>
Thu, 24 Mar 2016 13:14:35 +0000 (22:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 31 Mar 2016 15:16:55 +0000 (00:16 +0900)
commit15305c2f0334c52d1afaed7cf7dcaa6944019f68
tree8e1816a7e09537c8240ffde6dd897932133bf026
parent080c499df689e8c42df70de44502c0d71533dda8
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: Graham Moore <grmoore@opensource.altera.com>
[Brian: parentheses around macro arg]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
[Masahiro: import from Linux and adjust ioread32() to readl() ]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/denali.c
drivers/mtd/nand/denali.h