[flashrom] [PATCH] Loongson support

Peter Lemenkov lemenkov at gmail.com
Fri Sep 17 20:59:47 CEST 2010


2010/9/17 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder at gmail.com>:
> On 09/17/2010 06:40 PM, Peter Lemenkov wrote:
>> 2010/9/17 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder at gmail.com>:
>>
>>> Support for Loongson-2F flashing.
>>>
>> +       fclose(cpuinfo);
>> +       return 0;
>>
>> Should be "return 1;" here, I suppose.
>>
>>
> No, it's assumed that if no info found then it's not a Loongson. (the
> function is called is_loongson and not is_not_loongson

Finally I understood. Blame me for all that noise - I just missed
another one "return" within the "while" cycle. :)



-- 
With best regards, Peter Lemenkov.




More information about the flashrom mailing list