mtd: rawnand: Move ONFI code to nand_onfi.c
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 6 Sep 2018 22:38:50 +0000 (00:38 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 3 Oct 2018 09:12:25 +0000 (11:12 +0200)
commit1c325cc5077a88510afc08b1d2c75bcf18681f21
tree697eafc59a1ba7d5a91abc807fd0041918da00ff
parent3d4af7c195850cfccaddc2cf03b010b95236b695
mtd: rawnand: Move ONFI code to nand_onfi.c

This moves ONFI related code to nand_onfi.c and ONFI related
struct/macros to include/linux/mtd/onfi.h.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/Makefile
drivers/mtd/nand/raw/internals.h
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_onfi.c [new file with mode: 0644]
include/linux/mtd/onfi.h [new file with mode: 0644]
include/linux/mtd/rawnand.h