Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb08bc10 authored by John Crispin's avatar John Crispin Committed by David Woodhouse
Browse files

mtd: add m25p80 id for mx25l2005a



Add the id and sector mappings for mx25l2005a flash chips.

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 5ca11ca7
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -648,6 +648,7 @@ static const struct spi_device_id m25p_ids[] = {
	{ "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
	{ "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },


	/* Macronix */
	/* Macronix */
	{ "mx25l2005a",  INFO(0xc22012, 0, 64 * 1024,   4, SECT_4K) },
	{ "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
	{ "mx25l4005a",  INFO(0xc22013, 0, 64 * 1024,   8, SECT_4K) },
	{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
	{ "mx25l8005",   INFO(0xc22014, 0, 64 * 1024,  16, 0) },
	{ "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) },
	{ "mx25l1606e",  INFO(0xc22015, 0, 64 * 1024,  32, SECT_4K) },