mtd: spi-nor: add support for ISSI is25lp256

Message ID 20180407130105.24671-1-marex@denx.de
State Accepted
Delegated to: Boris Brezillon
Headers show
Series
  • mtd: spi-nor: add support for ISSI is25lp256
Related show

Commit Message

Marek Vasut April 7, 2018, 1:01 p.m.
Add support for ISSI is25lp256 spi nor flash.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Angelo Dureghello <angelo@sysam.it>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
---
 drivers/mtd/spi-nor/spi-nor.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Boris Brezillon April 22, 2018, 5:19 p.m. | #1
On Sat,  7 Apr 2018 15:01:05 +0200
Marek Vasut <marex@denx.de> wrote:

> Add support for ISSI is25lp256 spi nor flash.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Angelo Dureghello <angelo@sysam.it>
> Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
> Cc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>

Applied to spi-nor/next.

Thanks,

Boris

> ---
>  drivers/mtd/spi-nor/spi-nor.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 5bfa36e95f35..a9e3f0ff0974 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1049,6 +1049,8 @@ static const struct flash_info spi_nor_ids[] = {
>  			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>  	{ "is25lp128",  INFO(0x9d6018, 0, 64 * 1024, 256,
>  			SECT_4K | SPI_NOR_DUAL_READ) },
> +	{ "is25lp256",  INFO(0x9d6019, 0, 64 * 1024, 512,
> +			SECT_4K | SPI_NOR_DUAL_READ) },
>  
>  	/* Macronix */
>  	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },

Patch

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 5bfa36e95f35..a9e3f0ff0974 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1049,6 +1049,8 @@  static const struct flash_info spi_nor_ids[] = {
 			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ "is25lp128",  INFO(0x9d6018, 0, 64 * 1024, 256,
 			SECT_4K | SPI_NOR_DUAL_READ) },
+	{ "is25lp256",  INFO(0x9d6019, 0, 64 * 1024, 512,
+			SECT_4K | SPI_NOR_DUAL_READ) },
 
 	/* Macronix */
 	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },