mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.c
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 20 Jul 2022 16:22:13 +0000 (18:22 +0200)
committerMichael Trimarchi <michael@amarulasolutions.com>
Fri, 22 Jul 2022 11:29:06 +0000 (13:29 +0200)
commitbd6adff22f08162be9cec3d2a02f1ef6e670ac16
treedfb7e0b962c4cb086d930fb9095ed757c3374d90
parentc596e01f18c5177f9d2a1f770c5d9e33391c929f
mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.c

Upstream linux commit 229204da53b31d.

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: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/Makefile
drivers/mtd/nand/raw/nand_amd.c [new file with mode: 0644]
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nand_ids.c
include/linux/mtd/rawnand.h