mtd: spi-nor: Add the concept of SPI NOR manufacturer driver
commit9ec4bbcb2044ea1f380c9feceb10654dd5a35a95
authorBoris Brezillon <bbrezillon@kernel.org>
Fri, 13 Mar 2020 19:42:39 +0000 (13 19:42 +0000)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 17 Mar 2020 07:28:02 +0000 (17 09:28 +0200)
tree6a518fe2544869bfbcb73343e3790d55adacdd31
parent4f50e102e26a96824f032a7775ef805a8c6476de
mtd: spi-nor: Add the concept of SPI NOR manufacturer driver

Declare a spi_nor_manufacturer struct and add basic building blocks to
move manufacturer specific code outside of the core.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/mtd/spi-nor/core.c
drivers/mtd/spi-nor/core.h
include/linux/mtd/spi-nor.h