diff mbox

spi-nor: Add Winbond w25q256jv

Message ID 1497581377.2897.90.camel@kernel.crashing.org
State Superseded
Delegated to: Cyrille Pitchen
Headers show

Commit Message

Benjamin Herrenschmidt June 16, 2017, 2:49 a.m. UTC
It's similar to the non-"jv" version with a different ID.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---

Comments

Benjamin Herrenschmidt June 16, 2017, 2:54 a.m. UTC | #1
On Fri, 2017-06-16 at 12:49 +1000, Benjamin Herrenschmidt wrote:
> It's similar to the non-"jv" version with a different ID.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---

Ignore this. It's a w25q512... not enough coffee today!

> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1160,6 +1160,7 @@ static const struct flash_info spi_nor_ids[] = {
>         { "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16, SECT_4K) },
>         { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
>         { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) },
> +       { "w25q256jv", INFO(0xef7119, 0, 64 * 1024, 512, SECT_4K) },
>  
>         /* Catalyst / On Semiconductor -- non-JEDEC */
>         { "cat25c11", CAT25_INFO(  16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
diff mbox

Patch

--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1160,6 +1160,7 @@  static const struct flash_info spi_nor_ids[] = {
        { "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16, SECT_4K) },
        { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
        { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) },
+       { "w25q256jv", INFO(0xef7119, 0, 64 * 1024, 512, SECT_4K) },
 
        /* Catalyst / On Semiconductor -- non-JEDEC */
        { "cat25c11", CAT25_INFO(  16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },