summaryrefslogtreecommitdiff
path: root/include/linux/mtd/pismo.h
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2019-08-25 22:48:36 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2019-08-28 12:40:29 +0300
commit2d7ff858e5f683393f32b07e64e565877a2e4bcb (patch)
treee91f7536a04c2034a0266a4d926f7dddd4d808ee /include/linux/mtd/pismo.h
parent36499596280359d34a0663afe0abbf34d80862e8 (diff)
downloadlinux-2d7ff858e5f683393f32b07e64e565877a2e4bcb.tar.xz
mtd: spi-nor: Add a ->setup() method
nor->params.setup() configures the SPI NOR memory. Useful for SPI NOR flashes that have peculiarities to the SPI NOR standard, e.g. different opcodes, specific address calculation, page size, etc. Right now the only user will be the S3AN chips, but other manufacturers can implement it if needed. Move spi_nor_setup() related code in order to avoid a forward declaration to spi_nor_default_setup(). Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'include/linux/mtd/pismo.h')
0 files changed, 0 insertions, 0 deletions