mtd: nand: denali: allow to override corrupted revision register
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 15 Sep 2017 12:43:19 +0000 (21:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 18 Sep 2017 11:26:00 +0000 (20:26 +0900)
commit6c71b6f45474e58cb85370951f4c144495778e0b
tree2504cddc42903b42bd16ef42a61e146e86de83e8
parent08cebeeaadd9192dd501308ac6a8b858ffa255c1
mtd: nand: denali: allow to override corrupted revision register

The Denali IP does not update the revision register properly.
Allow to override it with SoC data associated with compatible.

Linux had already finished big surgery of this driver, but I need
to prepare the NAND core before the full sync of the driver.
For now, I am fixing the most fatal problem on UniPhier platform.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/denali.c
drivers/mtd/nand/denali.h
drivers/mtd/nand/denali_dt.c