[LinuxBIOS] PATCH: flashrom support for SST 49LF020A.
Uwe Hermann
uwe at hermann-uwe.de
Sat Oct 7 23:30:05 CEST 2006
Hi,
here's a small patch to add support for the SST 49LF020A to flashrom.
I only tested probing and reading the chip, I don't want to test
writing, as the chip on my test-board is soldered on.
I'm guessing that it should work, though, as it shares most code with
some very similar chips.
Uwe.
--
Uwe Hermann
http://www.hermann-uwe.de
http://www.it-services-uh.de | http://www.crazy-hacks.org
http://www.holsham-traders.de | http://www.unmaintained-free-software.org
-------------- next part --------------
Index: flash.h
===================================================================
--- flash.h (Revision 2449)
+++ flash.h (Arbeitskopie)
@@ -47,6 +47,7 @@
#define SST_39VF020 0xD6 /* SST 39VF020 device */
#define SST_49LF040B 0x50 /* SST 49LF040B device */
#define SST_49LF040 0x51 /* SST 49LF040 device */
+#define SST_49LF020A 0x52 /* SST 49LF020A device */
#define SST_49LF080A 0x5B /* SST 48LF080A device */
#define SST_49LF002A 0x57 /* SST 49LF002A device */
#define SST_49LF003A 0x1B /* SST 49LF003A device */
Index: flashchips.c
===================================================================
--- flashchips.c (Revision 2449)
+++ flashchips.c (Arbeitskopie)
@@ -66,6 +66,8 @@
{"SST49LF040", SST_ID, SST_49LF040, NULL, 512, 4096,
probe_jedec, erase_49lf040, write_49lf040,NULL},
+ {"SST49LF020A", SST_ID, SST_49LF020A, NULL, 256, 16 * 1024,
+ probe_jedec, erase_49lf040, write_49lf040,NULL},
{"SST49LF080A", SST_ID, SST_49LF080A, NULL, 1024, 4096,
probe_jedec, erase_49lf040, write_49lf040,NULL},
{"SST49LF002A/B", SST_ID, SST_49LF002A, NULL, 256, 16 * 1024,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20061007/858ad174/attachment.sig>
More information about the coreboot
mailing list