diff mbox

mtd: spi-nor: add support for Micron M25PX80

Message ID 1406498168-13379-1-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit f2fabe16b819cdead86fb38c8ab88a0d9c308293
Headers show

Commit Message

Thomas Petazzoni July 27, 2014, 9:56 p.m. UTC
This commit adds the support in the spi-nor driver of the Micron
M25PX80 flash, a 8 Mbit SPI flash from Micron.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Brian Norris Aug. 4, 2014, 9:25 p.m. UTC | #1
On Sun, Jul 27, 2014 at 11:56:08PM +0200, Thomas Petazzoni wrote:
> This commit adds the support in the spi-nor driver of the Micron
> M25PX80 flash, a 8 Mbit SPI flash from Micron.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Queued to l2-mtd.git/next. Thanks!

Brian
diff mbox

Patch

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index c713c86..8d7df6c 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -562,6 +562,7 @@  const struct spi_device_id spi_nor_ids[] = {
 	{ "m25px32-s0", INFO(0x207316,  0, 64 * 1024, 64, SECT_4K) },
 	{ "m25px32-s1", INFO(0x206316,  0, 64 * 1024, 64, SECT_4K) },
 	{ "m25px64",    INFO(0x207117,  0, 64 * 1024, 128, 0) },
+	{ "m25px80",    INFO(0x207114,  0, 64 * 1024, 16, 0) },
 
 	/* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */
 	{ "w25x10", INFO(0xef3011, 0, 64 * 1024,  2,  SECT_4K) },