]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: Fill memorg during detection
authorBoris Brezillon <bbrezillon@kernel.org>
Thu, 25 Oct 2018 15:10:37 +0000 (17:10 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 08:21:12 +0000 (10:21 +0200)
commitf6c6e6d5f4b9b16b4cdef92d30e7316af62aa42a
treef24769f38c1fc76c8d6a1d06f08b3b621df361e7
parent9848052c6e4a62b52af6e3cba9ac8f620a9a50df
mtd: rawnand: Fill memorg during detection

If we want to use the generic NAND layer, we need to have the memorg
struct appropriately filled. Patch the detection code to fill this
struct.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/denali.c
drivers/mtd/nand/raw/diskonchip.c
drivers/mtd/nand/raw/ingenic/jz4740_nand.c
drivers/mtd/nand/raw/nand_amd.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_hynix.c
drivers/mtd/nand/raw/nand_jedec.c
drivers/mtd/nand/raw/nand_onfi.c
drivers/mtd/nand/raw/nand_samsung.c
drivers/mtd/nand/raw/nand_toshiba.c
drivers/mtd/nand/raw/nandsim.c