[flashrom] [PATCH] fwhub minimal cleanup/consolidation

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Fri Mar 19 04:16:15 CET 2010


On 19.03.2010 04:13, Carl-Daniel Hailfinger wrote:
> On 18.03.2010 23:21, Sean Nelson wrote:
>   
>> change chip specific functions towards functions found in 82820ab.c
>>     
> [...] I'm open to acking your patch once we have a clear way forward
> which doesn't involve breaking unlocking.
>
> I didn't review the SST49 and SHARPLHF stuff yet.
>   

Just in case anyone out there wants a summary of the flashchips.c
changes, here they are:

SHARP_LHF00L04
erase_lhf00l04_block    -> erase_82802ab_block
write_lhf00l04          -> write_82802ab

SST_28SF040
                        -> unlock_28sf040

SST_49LF004C
                        -> unlock_49lfxxxc

SST_49LF008C
                        -> unlock_49lfxxxc

SST_49LF016C
                        -> unlock_49lfxxxc

ST_M50FLW040A
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

ST_M50FLW040B
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x
ST_M50FLW080A
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

ST_M50FLW080B
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

ST_M50FW002
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

ST_M50FW016
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

ST_M50FW040
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

ST_M50FW080
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

ST_M50LPW116
erase_block_stm50flw0x0x -> erase_82802ab_block
write_stm50flw0x0x      -> write_82802ab
                        -> unlock_stm50flw0x0x

Regards,
Carl-Daniel

-- 
"I do consider assignment statements and pointer variables to be among
computer science's most valuable treasures."
-- Donald E. Knuth





More information about the flashrom mailing list