Patchwork mtd: m25p80: Add support for m25pe20

login
register
mail settings
Submitter Alexandre Pereira da Silva
Date June 12, 2012, 7:42 p.m.
Message ID <1339530160-23579-1-git-send-email-aletes.xgr@gmail.com>
Download mbox | patch
Permalink /patch/164490/
State New
Headers show

Comments

Alexandre Pereira da Silva - June 12, 2012, 7:42 p.m.
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
---
 drivers/mtd/devices/m25p80.c |    1 +
 1 file changed, 1 insertion(+)
Artem Bityutskiy - June 19, 2012, 4:14 p.m.
On Tue, 2012-06-12 at 16:42 -0300, Alexandre Pereira da Silva wrote:
> Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 5967219..53c77bf 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -715,6 +715,7 @@  static const struct spi_device_id m25p_ids[] = {
 	{ "m45pe80", INFO(0x204014,  0, 64 * 1024,   16, 0) },
 	{ "m45pe16", INFO(0x204015,  0, 64 * 1024,   32, 0) },
 
+	{ "m25pe20", INFO(0x208012,  0, 64 * 1024,  4,       0) },
 	{ "m25pe80", INFO(0x208014,  0, 64 * 1024, 16,       0) },
 	{ "m25pe16", INFO(0x208015,  0, 64 * 1024, 32, SECT_4K) },