mtd: spi-nor: Add spansion_post_sfdp_fixups()

Add a spansion_post_sfdp_fixups() function to fix the erase opcode,
erase sector size and set the SNOR_F_4B_OPCODES flag.
This way, all spansion related quirks are placed in the
spansion_post_sfdp_fixups() function.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
This commit is contained in:
Boris Brezillon 2019-08-24 12:07:11 +00:00 • committed by Tudor Ambarus
commit 92094ebc38
No known key found for this signature in database
GPG key ID: 4B554F47A58D14E9