]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: remove useless fields from pxa3xx NAND platform data
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 19 Feb 2018 22:35:54 +0000 (23:35 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 2 Mar 2018 20:51:41 +0000 (21:51 +0100)
commitd05a7fa1586deef2de9ac2fc96077905d23fbdd1
tree4f4c96fa0e3d17908f268e43e8bdb529bbc1681d
parent972460f1604baf3321f043fef9b659d1878431ed
mtd: nand: remove useless fields from pxa3xx NAND platform data

The "enable arbiter" bit is available only for pxa3xx based platforms
but it was experimentally shown that even if this bit is reserved,
some Marvell platforms (64-bit) actually need it to be set. The driver
always set this bit regardless of this property, which is harmless.
Then this property is not needed.

The "num_cs" field is always 1 and for a good reason, the old driver
(pxa3xx_nand.c) could only handle one. The new driver that replaces it
(marvell_nand.c) can handle more, but better use device tree for such
description. As there is only one available chip select, there is no
need for an array of partitions neither an array of partition numbers.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
arch/arm/mach-mmp/aspenite.c
arch/arm/mach-mmp/ttc_dkb.c
arch/arm/mach-pxa/cm-x300.c
arch/arm/mach-pxa/colibri-pxa3xx.c
arch/arm/mach-pxa/littleton.c
arch/arm/mach-pxa/mxm8x10.c
arch/arm/mach-pxa/raumfeld.c
arch/arm/mach-pxa/zylonite.c
drivers/mtd/nand/marvell_nand.c
include/linux/platform_data/mtd-nand-pxa3xx.h