From c83d92e84688dd861a8f0cf60b6fe7c6a8056dc2 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 10 Aug 2015 11:30:37 -0600 Subject: [PATCH] RAMTRON: Update driver to include support for newer RAMTRON parts. --- ChangeLog | 3 +++ drivers/mtd/ramtron.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7e92de8a31..03e6dd4558 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10801,3 +10801,6 @@ * fs/vfs/epoll.c and include/sys/epoll.h: Add a very simple epoll layer just around poll calls. To satisfy build app requirements. From Anton D. Kachalov. + * drivers/mtd/ramtron.c: Update to include supportf for newer + RAMTRON parts. From David Sidrane. + diff --git a/drivers/mtd/ramtron.c b/drivers/mtd/ramtron.c index 215c13f7b2..b800d0f27c 100644 --- a/drivers/mtd/ramtron.c +++ b/drivers/mtd/ramtron.c @@ -176,6 +176,14 @@ static const struct ramtron_parts_s g_ramtron_parts[] = 2, /* addr_len */ RAMTRON_INIT_CLK_MAX /* speed */ }, + { + "FM25V01A", /* name */ + 0x21, /* id1 */ + 0x08, /* id2 */ + 16L*1024L, /* size */ + 2, /* addr_len */ + RAMTRON_INIT_CLK_MAX /* speed */ + }, { "FM25V02", /* name */ 0x22, /* id1 */ @@ -184,6 +192,14 @@ static const struct ramtron_parts_s g_ramtron_parts[] = 2, /* addr_len */ RAMTRON_INIT_CLK_MAX /* speed */ }, + { + "FM25V02A", /* name */ + 0x22, /* id1 */ + 0x08, /* id2 */ + 32L*1024L, /* size */ + 2, /* addr_len */ + RAMTRON_INIT_CLK_MAX /* speed */ + }, { "FM25VN02", /* name */ 0x22, /* id1 */ @@ -224,6 +240,22 @@ static const struct ramtron_parts_s g_ramtron_parts[] = 3, /* addr_len */ RAMTRON_INIT_CLK_MAX /* speed */ }, + { + "FM25V20A", /* name */ + 0x25, /* id1 */ + 0x08, /* id2 */ + 256L*1024L, /* size */ + 3, /* addr_len */ + RAMTRON_INIT_CLK_MAX /* speed */ + }, + { + "CY15B104Q", /* name */ + 0x26, /* id1 */ + 0x08, /* id2 */ + 512L*1024L, /* size */ + 3, /* addr_len */ + RAMTRON_INIT_CLK_MAX /* speed */ + }, { "MB85RS1MT", /* name */ 0x27, /* id1 */