[PATCH] mtd: spi-nor: Fix selection of 4-byte addressing opcodes on Spansion
miquel.raynal at bootlin.com
Fri Jan 17 13:47:49 PST 2020
On Wed, 2020-01-08 at 05:13:43 UTC, Vignesh Raghavendra wrote:
> mtd->size is still unassigned when running spansion_post_sfdp_fixups()
> hook, therefore use nor->params.size to determine the size of flash device.
> This makes sure that 4-byte addressing opcodes are used on Spansion
> flashes that are larger than 16MiB and don't have SFDP 4BAIT table
> Fixes: 92094ebc385e ("mtd: spi-nor: Add spansion_post_sfdp_fixups()")
> Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
> Reviewed-by: Tudor Ambarus <tudor.ambarus at microchip.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.
More information about the linux-mtd