]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: ifc: update bufnum mask for ver >= 2.0.0
authorJagdish Gediya <jagdish.gediya@nxp.com>
Thu, 23 Nov 2017 11:34:31 +0000 (17:04 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 30 Nov 2017 21:32:49 +0000 (22:32 +0100)
commita3e31ce4f2d793424a7f42e45daa89e65ec29735
tree3c2044bdfef77d5f23937699cd28fa50e5ec92ba
parentfaffd57b2146939b809cd0266c28af4fe8d36bb3
mtd: nand: ifc: update bufnum mask for ver >= 2.0.0

Bufnum mask is used to calculate page position in the internal SRAM.

As IFC version 2.0.0 has 16KB of internal SRAM as compared to older
versions which had 8KB. Hence bufnum mask needs to be updated.

Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/fsl_ifc_nand.c