From 1f3e530bea78a442f9441e16aad237a38b346c5d Mon Sep 17 00:00:00 2001
From: Joseph Smith <joe@smittys.pointclark.net>
Date: Fri, 14 Mar 2008 23:32:03 +0000
Subject: [PATCH] Changes M50FW080 to use 82802ab.c instead of jedec.c

This fixes the problem of not being able to erase the chip.

Corresponding to flashrom svn r208 and coreboot v2 svn r3145.

Signed-off-by: Joseph Smith <joe@smittys.pointclark.net>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
---
 flashchips.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flashchips.c b/flashchips.c
index 73979ed..db4e8a6 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -165,7 +165,7 @@ struct flashchip flashchips[] = {
 	{"M50FLW080B",	ST_ID,		ST_M50FLW080B,	1024,	64 * 1024,
 	 probe_jedec,	erase_chip_jedec,	write_jedec},
 	{"M50FW080",	ST_ID,		ST_M50FW080,	1024,	64 * 1024,
-	 probe_jedec,	erase_chip_jedec,	write_jedec},
+	 probe_82802ab,	erase_82802ab,		write_82802ab},
 	{"M50FW016",	ST_ID,		ST_M50FW016,	2048,	64 * 1024,
 	 probe_jedec,	erase_chip_jedec,	write_jedec},
 	{"M50LPW116",	ST_ID,		ST_M50LPW116,	2048,	64 * 1024,
-- 
GitLab