Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH 1/3] mtd m25p80: add support for Macronix MX25L12805D

49 views
Skip to first unread message

David Brownell

unread,
Oct 19, 2008, 6:20:12 PM10/19/08
to
From: Lennert Buytenhek <buy...@wantstofly.org>

Support one more flavor of SPI flash: Macronix MX25L12805D
(128 Mbit, 16 MByte).

Signed-off-by: Lennert Buytenhek <buy...@marvell.com>
Signed-off-by: David Brownell <dbro...@users.sourceforge.net>

--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -467,6 +467,9 @@ static struct flash_info __devinitdata m25p_data [] = {
{ "at26df161a", 0x1f4601, 64 * 1024, 32, SECT_4K, },
{ "at26df321", 0x1f4701, 64 * 1024, 64, SECT_4K, },

+ /* Macronix */
+ { "mx25l12805d", 0xc22018, 64 * 1024, 256, SECT_4K, },
+
/* Spansion -- single (large) sector size only, at least
* for the chips listed here (without boot sectors).
*/


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

David Brownell

unread,
Oct 19, 2008, 6:50:05 PM10/19/08
to
Sorry for the "1/3" -- there's only this one patch.
The other two would have been resends of patches that
never got acked, but do seem to be in the MTD git tree.

However I noticed that this patch will have a problem
applying against that MTD git ... the m25p80 driver
got taught how to use two of the "extended" JEDEC ID
bytes provided by some vendors, so the initializers here
are all missing an extra "u16" value following the JEDEC
code. Swap in a 0 for the Macronix part and all should
be OK ...

- Dave

0 new messages