[PATCH] mtd: spi-nor: support GigaDevice gd25lq64c
Marek Vasut
marex at denx.de
Thu May 5 18:35:30 PDT 2016
On 05/06/2016 03:00 AM, Brian Norris wrote:
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -832,6 +832,7 @@ static const struct flash_info spi_nor_ids[] = {
> /* GigaDevice */
> { "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64, SECT_4K) },
> { "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) },
> + { "gd25lq64c", INFO(0xc86017, 0, 64 * 1024, 128, SECT_4K | SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
It's enough to use one SECT_4K , it will work just fine :-)
> { "gd25q128", INFO(0xc84018, 0, 64 * 1024, 256, SECT_4K) },
--
Best regards,
Marek Vasut
More information about the linux-mtd
mailing list