Am 12.06.2011 16:26 schrieb Idwer Vollering:
> 2011/6/12 Tadas Slotkus <[email protected]>:
>
>> Signed-off-by: Tadas Slotkus <[email protected]>
>>
>> diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c
>> index 046b9f3..5299c6e 100644
>> --- a/sst49lfxxxc.c
>> +++ b/sst49lfxxxc.c
>> @@ -61,13 +61,12 @@ int unlock_49lfxxxc(struct flashchip *flash)
>>
>> int erase_sector_49lfxxxc(struct flashchip *flash, unsigned int address,
>> unsigned int sector_size)
>> {
>> - uint8_t status;
>> chipaddr bios = flash->virtual_memory;
>>
>> chip_writeb(0x30, bios);
>> chip_writeb(0xD0, bios + address);
>>
>> - status = wait_82802ab(flash);
>> + wait_82802ab(flash);
>>
>> if (check_erased_range(flash, address, sector_size)) {
>> msg_cerr("ERASE FAILED!\n");
>>
> GCC 4.6 fix, applies to all build targets.
>
Stefan Reinauer already sent a patch for that some time ago:
http://patchwork.coreboot.org/patch/1239/
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom