Dear Sanjeev,

in message <b85a65d85d7eb246be421b3fb0fbb59301e1eb4...@dbde02.ent.ti.com> you 
wrote:
>
> Also, I believe faster execution time is always better; not just
> in critical sections of code. I possibly used "global" quite loosely;
> while responding earlier. The variable cpu_revision (being discussed)
> here is actually a 'static'. (See patch 1/2).

So how much faster is reading this variable compared to reading from
the register?

Can you really measure _any_ difference?

> But, if we feel otherwise, I can revert to executing detection
> mechanism each time in the function.

Please undo 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: w...@denx.de
Ernest asks Frank how long he has been working for the company.
        "Ever since they threatened to fire me."
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to