mtd: spi-nor: Add support for Micron n25q064a serial flash
Subsystems (2)
PATCH 1/1 mtd: spi-nor: Add support for Micron n25q064a serial flash
Add Micron (n25q064a) 8MB flash to the list of supported chips.
Signed-off-by Mika Westerberg <[email protected]>
--- drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/spi-nor.c +1 -0
@@ -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) },
Signature · 1 line
2.5.0
Quoted 4 lines · Mika Westerberg
Add Micron (n25q064a) 8MB flash to the list of supported chips.
Signed-off-by Mika Westerberg <[email protected]>---
I have not tested this, but I just verified the read_id other flash details.
Reviewed-by Jagan Teki <[email protected]>
Quoted 16 lines
drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+)drivers/mtd/spi-nor/spi-nor.c +1
-1@@ -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) }, --
Quoted 3 lines
2.5.0
thanks!
Signature · 1 line
Jagan | openedev.
Brian Norris
AppliedQuoted 10 lines · Jagan Teki
Quoted 4 lines · Mika Westerberg
Add Micron (n25q064a) 8MB flash to the list of supported chips.
Signed-off-by Mika Westerberg <[email protected]>---
I have not tested this, but I just verified the
read_idother flash details.Reviewed-by Jagan Teki <[email protected]>
Applied to l2-mtd.git/next