mtd: spi-nor: move all xilinx specifics into xilinx.c
authorMichael Walle <michael@walle.cc>
Wed, 23 Feb 2022 13:43:47 +0000 (14:43 +0100)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 25 Feb 2022 16:12:01 +0000 (18:12 +0200)
commit8b4195cd6dc3f1f0ab457d23d21e9f72fde0760a
treecf3cf9391a5019b9df2e623ebb79c0d9c6f74367
parent9fb4beb1b0510398c8202c6db04f29b3f22d53a7
mtd: spi-nor: move all xilinx specifics into xilinx.c

Mechanically move all the xilinx functions to its own module.

Then register the new flash specific ready() function.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220223134358.1914798-22-michael@walle.cc
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h
drivers/mtd/spi-nor/xilinx.c
include/linux/mtd/spi-nor.h