In message <[EMAIL PROTECTED]> you wrote:
>
> My udelay is already global-variable-free. And as for cycles_per_jiffy
> and expirelo, we could make it work like this:
...
> -static unsigned int expirelo;
> +static unsigned long cycles_per_jiffy = (CONFIG_MIPS_TIMER_FREQ + CFG_HZ / 
> 2) / CFG_HZ;

If it's a constant anyway - then why do we need a variable for it?

> But I have no clue about timestamp.

Maybe there is a register that is (1) common to all or at least most
of the supported processors we could use for that? If not, then we
probably have to use the initial data structure for this.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
I think it's a new feature. Don't tell anyone it was an accident. :-)
  -- Larry Wall on s/foo/bar/eieio in <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to