mtd: spi-nor: Move Intel bits out of core.c
authorBoris Brezillon <bbrezillon@kernel.org>
Fri, 13 Mar 2020 19:42:43 +0000 (19:42 +0000)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 17 Mar 2020 07:28:03 +0000 (09:28 +0200)
commitaa6351877f3e8a7006d1e17f6be3e15dc12b943e
tree2958067f3e19da0da20e7ed829f26830e16ba2fa
parentacb96ecd59f7fdd8b2791f225d101dfdc2ab38a9
mtd: spi-nor: Move Intel bits out of core.c

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

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