mtd: spi-nor: Move Catalyst bits out of core.c
authorBoris Brezillon <bbrezillon@kernel.org>
Fri, 13 Mar 2020 19:42:49 +0000 (19:42 +0000)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 17 Mar 2020 07:28:05 +0000 (09:28 +0200)
commitd82592572662bcca7684eeb84e68daad16d91524
treef795afd81ff99d921fede3afdb14cf44cf4818a4
parent7b8b22010af95f67aee6e9f7a116056e811ec417
mtd: spi-nor: Move Catalyst bits out of core.c

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

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/catalyst.c [new file with mode: 0644]
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h