This patch adds support for ST M50FW040 and ST M29W040B

Only reading from the chips was tested; writing support is untested.

Thanks to Gürkan Sengün <gurkan@linuks.mine.nu> for testing!

Corresponding to flashrom svn r122 and coreboot v2 svn r2740.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
diff --git a/flashchips.c b/flashchips.c
index ec88d81..5e1a3af 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -114,6 +114,10 @@
 	 probe_jedec,	erase_chip_jedec, write_39sf020},
 	{"M29F002B",	ST_ID, 		ST_M29F002B,	256, 64 * 1024,
 	 probe_jedec,	erase_chip_jedec, write_jedec},
+	{"M50FW040",	ST_ID, 		ST_M50FW040,	512, 64 * 1024,
+	 probe_jedec,	erase_chip_jedec, write_jedec},
+	{"M29W040B",	ST_ID, 		ST_M29W040B,	512, 64 * 1024,
+	 probe_jedec,	erase_chip_jedec, write_jedec},
 	{"M29F002T/NT",	ST_ID, 		ST_M29F002T,	256, 64 * 1024,
 	 probe_jedec,	erase_chip_jedec, write_jedec},
 	{"M29F400BT",	ST_ID,		ST_M29F400BT,	512, 64 * 1024,