On Wed, 03 Apr 2013 01:21:11 +0200
Carl-Daniel Hailfinger <[email protected]> wrote:

> I now see that the patch is correct. However, the code for non-Windows
> was broken as well (too big values for udelay), so I extended your patch
> a bit.
> 
> usleep() is not found in all versions of MinGW, use Sleep() on Windows.
> Handle long sleeps on non-Windows correctly.
> 
> Signed-off-by: Maksim Kuleshov <[email protected]>
> Signed-off-by: Carl-Daniel Hailfinger <[email protected]>

Looks good to me.
Acked-by: Stefan Tauner <[email protected]>

Everybody is invited to work on the following when the patch has been
merged:
http://www.flashrom.org/Easy_projects#Replace_programmer_delay.28.29_with_internal_sleep.28.29_where_appropriate

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to