Patchwork M25: Add support for Everspin MR25H256 MRAM chip

login
register
mail settings
Submitter Marek Vasut
Date May 1, 2012, 2:04 a.m.
Message ID <1335837840-15511-1-git-send-email-marex@denx.de>
Download mbox | patch
Permalink /patch/156002/
State New
Headers show

Comments

Marek Vasut - May 1, 2012, 2:04 a.m.
This chip isn't JEDEC-compatible.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: linux-mtd@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
 drivers/mtd/devices/m25p80.c |    3 +++
 1 file changed, 3 insertions(+)
Artem Bityutskiy - May 2, 2012, 1:47 p.m.
On Tue, 2012-05-01 at 04:04 +0200, Marek Vasut wrote:
> This chip isn't JEDEC-compatible.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: David Woodhouse <dwmw2@infradead.org>
> Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> Cc: linux-mtd@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org

Pushed to l2-mtd.git, thanks!
Marek Vasut - May 2, 2012, 2:01 p.m.
Dear Artem Bityutskiy,

> On Tue, 2012-05-01 at 04:04 +0200, Marek Vasut wrote:
> > This chip isn't JEDEC-compatible.
> > 
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: David Woodhouse <dwmw2@infradead.org>
> > Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
> > Cc: linux-mtd@lists.infradead.org
> > Cc: linux-kernel@vger.kernel.org
> 
> Pushed to l2-mtd.git, thanks!

Thank you :-)

Best regards,
Marek Vasut

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 1924d24..85ce6fd 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -639,6 +639,9 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "en25q32b", INFO(0x1c3016, 0, 64 * 1024,  64, 0) },
 	{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
 
+	/* Everspin */
+	{ "mr25h256", CAT25_INFO(  32 * 1024, 1, 256, 2) },
+
 	/* Intel/Numonyx -- xxxs33b */
 	{ "160s33b",  INFO(0x898911, 0, 64 * 1024,  32, 0) },
 	{ "320s33b",  INFO(0x898912, 0, 64 * 1024,  64, 0) },