[PATCHv3 1/2] mtd: spi-nor: add support for is25lq040b

Cyrille Pitchen cyrille.pitchen at wedev4u.fr
Wed Dec 20 07:29:15 PST 2017


Le 15/12/2017 à 08:33, Sean Nyekjaer a écrit :
> Signed-off-by: Sean Nyekjaer <sean.nyekjaer at prevas.dk>

Applied to the spi-nor/next branch of linux-mtd

Thanks!

> ---
> v3:
>  - this spi-nor is 4Mbit or 512KB
>  - readded SECT_4K as per Cyrille comments
>  - spi-nor supports fast read dual and quad
> 
> v2:
>  - removed SECT_4K as the chip are supporting 32K and bulk erase
> 
>  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 9178139a39d0..f7676aa50ce6 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -1046,6 +1046,8 @@ static const struct flash_info spi_nor_ids[] = {
>  
>  	/* ISSI */
>  	{ "is25cd512", INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
> +	{ "is25lq040b", INFO(0x9d4013, 0, 64 * 1024,  8,
> +			SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>  	{ "is25lp128", INFO(0x9d6018, 0, 64 * 1024, 256,
>  			SECT_4K | SPI_NOR_DUAL_READ) },
>  
> 




More information about the linux-mtd mailing list