[U-Boot] [RFC] U-boot (was: ARM) timing code refactoring

Reinhard Meyer u-boot at emk-elektronik.de
Sat Jan 22 12:00:12 CET 2011


Dear Albert ARIBAUD,

this is not an ARM local issue.

The timeouts are used in generic drivers all around u-boot.

Have a grep for get_timer, reset_timer...

The most ugly use is with reset_timer involved, where the internal
pseudo-tick is reset to zero, so all calls to get_timer are
relative to that moment.

We are looking at replacing all those occurrences of reset_timer
and get_timer with "better" methods.

Best Regards,
Reinhard


More information about the U-Boot mailing list