]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: denali: support two row address cycle devices
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 13 Sep 2017 02:05:51 +0000 (11:05 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 18 Sep 2017 12:55:54 +0000 (14:55 +0200)
commit2c2b679df37993372dc76f6fc4a73397d7de3815
tree918d0867198891a5aba457561e30af17d292870c
parentc1d5d4f6c599390db01d89fa745508be8f5df881
mtd: nand: denali: support two row address cycle devices

The register TWO_ROW_ADDR_CYCLES specifies the number of row address
cycles of the device, but it is fixed to 0 in the driver init code
(i.e. always 3 row address cycles).

Reflect the result of nand_scan_ident() to the register setting
in order to support 2 row address cycle devices.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.c