linux/drivers/mtd/nand
Masahiro Yamada 750f69b826 mtd: rawnand: denali: use more nand_chip pointers for internal functions
With the recent refactoring, the NAND driver hooks now take a pointer
to nand_chip. Add to_denali() in order to convert (struct nand_chip *)
to (struct denali_nand_info *) directly. It is more useful than the
current mtd_to_denali().

I changed some helper functions to take (struct nand_chip *). This will
avoid pointer conversion back and forth, and ease further development.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2019-04-18 08:54:02 +02:00
..
onenand mtd: onenand: use mtd_device_register() where applicable 2018-07-19 23:14:12 +02:00
raw mtd: rawnand: denali: use more nand_chip pointers for internal functions 2019-04-18 08:54:02 +02:00
spi mtd: spinand: Implement mtd->_max_bad_blocks 2019-04-08 10:21:10 +02:00
bbt.c mtd: nand: Fix memory allocation in nanddev_bbt_init() 2018-11-28 15:41:50 +01:00
core.c mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg 2019-04-08 10:21:08 +02:00
Kconfig mtd: nand: Remove useless line in Kconfig 2019-04-18 08:54:01 +02:00
Makefile mtd: nand: Add core infrastructure to support SPI NANDs 2018-07-18 09:24:10 +02:00