mtd: spi-nor: Move Xilinx bits out of core.c
authorBoris Brezillon <bbrezillon@kernel.org>
Fri, 13 Mar 2020 19:42:50 +0000 (19:42 +0000)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 17 Mar 2020 07:28:06 +0000 (09:28 +0200)
commit2d47cac1eee76a75c28886c15f82323eb0ec0eb5
tree25c8bd8eabccb198891af8abaf72219ff9b57411
parentd82592572662bcca7684eeb84e68daad16d91524
mtd: spi-nor: Move Xilinx bits out of core.c

Create a SPI NOR manufacturer driver for Xilinx chips, and move the
Xilinx definitions outside of core.c.

While at it, remove the SPI_S3AN flag which is now useless.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/Makefile
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h
drivers/mtd/spi-nor/xilinx.c [new file with mode: 0644]