Support for Loongson-2F flashing.
Signed-off-by: Vladimir 'phcoder' Serbinenko
2010/9/17 Vladimir 'φ-coder/phcoder' Serbinenko phcoder@gmail.com:
Support for Loongson-2F flashing.
+ fclose(cpuinfo); + return 0;
Should be "return 1;" here, I suppose.
On 09/17/2010 06:40 PM, Peter Lemenkov wrote:
2010/9/17 Vladimir 'φ-coder/phcoder' Serbinenko phcoder@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
2010/9/17 Vladimir 'φ-coder/phcoder' Serbinenko phcoder@gmail.com:
On 09/17/2010 06:40 PM, Peter Lemenkov wrote:
2010/9/17 Vladimir 'φ-coder/phcoder' Serbinenko phcoder@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. :)
On 09/17/2010 05:55 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Support for Loongson-2F flashing.
Signed-off-by: Vladimir 'phcoder' Serbinenko
Updated version
On 30.09.2010 00:03, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
On 09/17/2010 05:55 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
Support for Loongson-2F flashing.
Signed-off-by: Vladimir 'phcoder' Serbinenko
Updated version
Thanks for your patch.
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net and committed in r1183.
Regards, Carl-Daniel