diff options
author | Tudor Ambarus <[email protected]> | 2019-08-25 22:48:36 +0300 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2019-08-28 12:40:29 +0300 |
commit | 2d7ff858e5f683393f32b07e64e565877a2e4bcb (patch) | |
tree | e91f7536a04c2034a0266a4d926f7dddd4d808ee /lib/mpi/mpi-cmp.c | |
parent | 36499596280359d34a0663afe0abbf34d80862e8 (diff) |
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 <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Vignesh Raghavendra <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions