Patchwork mtd: m25p80: Add support for Atmel at45db081d

login
register
mail settings
Submitter Chunhe Lan
Date June 19, 2012, 2:55 a.m.
Message ID <1340074508-4393-1-git-send-email-Chunhe.Lan@freescale.com>
Download mbox | patch
Permalink /patch/165630/
State New
Headers show

Comments

Chunhe Lan - June 19, 2012, 2:55 a.m.
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
---
 drivers/mtd/devices/m25p80.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Artem Bityutskiy - June 27, 2012, 12:25 p.m.
On Tue, 2012-06-19 at 10:55 +0800, Chunhe Lan wrote:
> Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 5d0d68c..6bfb0f8 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -633,6 +633,8 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
 	{ "at26df321",  INFO(0x1f4700, 0, 64 * 1024, 64, SECT_4K) },
 
+	{ "at45db081d", INFO(0x1f2500, 0, 64 * 1024, 16, SECT_4K) },
+
 	/* EON -- en25xxx */
 	{ "en25f32", INFO(0x1c3116, 0, 64 * 1024,  64, SECT_4K) },
 	{ "en25p32", INFO(0x1c2016, 0, 64 * 1024,  64, 0) },