mtd: spi-nor: winbond: Add support for w25q512jvq
authorShuhao Mai <shuhao.mai.1990@gmail.com>
Mon, 8 Feb 2021 07:53:03 +0000 (15:53 +0800)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Mon, 8 Mar 2021 05:25:52 +0000 (07:25 +0200)
commitff013330fbdb2782e9001787db6c0b6415cdad77
tree4613fe7cca52884ba2a905a24f834914293e1d39
parenta38fd8748464831584a19438cbb3082b5a2dab15
mtd: spi-nor: winbond: Add support for w25q512jvq

Add support for w25q512jvq. This is of the same series chip with
w25q256jv, which is already supported, but with size doubled and
different JEDEC ID.

Tested on Intel whitley platform with dd from/to the flash for
read/write respectly, and flash_erase for erasing the flash.

Signed-off-by: Shuhao Mai <shuhao.mai.1990@gmail.com>
[ta: put flash_info flags in order, first SPI_NOR_DUAL_READ, then
SPI_NOR_QUAD_READ]
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210208075303.4200-1-shuhao.mai.1990@gmail.com
drivers/mtd/spi-nor/winbond.c