[coreboot] [PATCH] flashrom: add SST49LF020 support

Uwe Hermann uwe at hermann-uwe.de
Tue Jan 6 00:27:01 CET 2009


On Sun, Jan 04, 2009 at 08:11:57PM +0100, Sven Schnelle wrote:
> Hi List,
> 
> i've added support for the SST 49LF020 Flash chip to flashrom. Basically
> only the device Id differs, the programming algorithm seems to be the
> same as for SST 49LF020A.
> 
> I've only tested read so far, i'm a bit reluctant to test
> erase/programming without a backup BIOS chip :)

You forgot the Signed-off-by for this patch, please repost with that.


> Index: flash.h
> ===================================================================
> --- flash.h	(revision 3845)
> +++ flash.h	(working copy)
> @@ -356,6 +356,7 @@
>  #define SST_39VF040		0xD7
>  #define SST_49LF040B		0x50
>  #define SST_49LF040		0x51
> +#define SST_49LF020            0x61
>  #define SST_49LF020A		0x52
>  #define SST_49LF080A		0x5B
>  #define SST_49LF002A		0x57
> Index: flashchips.c
> ===================================================================
> --- flashchips.c	(revision 3845)
> +++ flashchips.c	(working copy)
> @@ -626,6 +626,12 @@
>  	 probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc
>  	},
>  
> +	{"SST", "SST49LF020", SST_ID, SST_49LF020,
> +	 256, 16 * 1024,
> +	 TEST_UNTESTED,

As reading works, this is not UNSTESTED. At least PROBE and READ
should be marked as working.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org




More information about the coreboot mailing list