Hi Alex,

Le 01/07/2011 14:37, Alex Waterman a écrit :
>
>>     Why 'volatile'? Also, there shouldn't be an empty line before it but 
>> there should be one after it...
> I used a volatile to prevent the compiler from optimizing out the (normally) 
> useless loop. Is there a cleaner way to do this?

If the board supports udelay(), you should use that instead of a loop.

> Best regards,
> Alex

Amicalement,
-- 
Albert.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to