linux/arch/mips/alchemy
Boris Brezillon 47bd59e538 mtd: rawnand: plat_nand: Pass a nand_chip object to all platform_nand_ctrl hooks
Let's make the raw NAND API consistent by patching all helpers and
hooks to take a nand_chip object instead of an mtd_info one or
remove the mtd_info object when both are passed.

In order to do that, we first need to update the platform_nand_ctrl
hooks to take a nand_chip object instead of an mtd_info.

We add temporary plat_nand_xxx() wrappers to the do the mtd -> chip
conversion, but those will be dropped when patching nand_chip hooks to
take a nand_chip object.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Krzysztof Halasa <khalasa@piap.pl>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2018-10-03 11:12:25 +02:00
..
common treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
devboards mtd: rawnand: plat_nand: Pass a nand_chip object to all platform_nand_ctrl hooks 2018-10-03 11:12:25 +02:00
board-gpr.c mips: unify prom_putchar() declarations 2018-07-17 09:40:17 -07:00
board-mtx1.c mips: unify prom_putchar() declarations 2018-07-17 09:40:17 -07:00
board-xxs1500.c mips: unify prom_putchar() declarations 2018-07-17 09:40:17 -07:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile
Platform