mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.c
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Jun 2016 08:42:23 +0000 (10:42 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Mar 2017 22:21:22 +0000 (23:21 +0100)
commit229204da53b31d576fcc1c93a33626943ea8202c
treed383c2136538b6f79d1b6730e4f9407b324d8566
parent10d4e75c36f6c16311dde1461f318210da357219
mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.c

Move AMD/Spansion specific initialization/detection logic into
nand_amd.c. This is part of the "separate vendor specific code from
core" cleanup process.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Richard Weinberger <richard@nod.at>
drivers/mtd/nand/Makefile
drivers/mtd/nand/nand_amd.c [new file with mode: 0644]
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_ids.c
include/linux/mtd/nand.h