[PATCH] mtd: spi-nor: Add support for Micron n25q064a serial flash
Jagan Teki
jteki at openedev.com
Thu Aug 27 21:15:38 PDT 2015
On 27 August 2015 at 15:22, Mika Westerberg
<mika.westerberg at linux.intel.com> wrote:
> Add Micron (n25q064a) 8MB flash to the list of supported chips.
>
> Signed-off-by: Mika Westerberg <mika.westerberg at linux.intel.com>
> ---
I have not tested this, but I just verified the read_id other flash details.
Reviewed-by: Jagan Teki <jteki at openedev.com>
> drivers/mtd/spi-nor/spi-nor.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index d78831b4422b..28190e8a1170 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -590,6 +590,7 @@ static const struct spi_device_id spi_nor_ids[] = {
> /* Micron */
> { "n25q032", INFO(0x20ba16, 0, 64 * 1024, 64, SPI_NOR_QUAD_READ) },
> { "n25q064", INFO(0x20ba17, 0, 64 * 1024, 128, SPI_NOR_QUAD_READ) },
> + { "n25q064a", INFO(0x20bb17, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_QUAD_READ) },
> { "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, SPI_NOR_QUAD_READ) },
> { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, SPI_NOR_QUAD_READ) },
> { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_QUAD_READ) },
> --
> 2.5.0
>
>
thanks!
--
Jagan | openedev.
More information about the linux-mtd
mailing list