[U-Boot] Timer implementations

Wolfgang Denk wd at denx.de
Mon Nov 1 21:15:06 CET 2010


Dear Reinhard Meyer,

In message <4CCF1CAF.1020107 at emk-elektronik.de> you wrote:
>
> For efficiency it would help if CONFIG_SYS_HZ would be allowed to be in the range
> of 1000 - 2000 Hz (or 700 - 1400), so on any hardware a simple shift would do for
> get_timer(). Of course the constant CONFIG_SYS_HZ should be replaced by a function
> like get_timer_hz() to allow for runtime calculation of the best fit.

No. If you need such differing settings, please use a different config
variable.

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: wd at denx.de
When a man sits with a pretty girl for  an  hour,  it  seems  like  a
minute.  But let him sit on a hot stove for a minute -- and it's lon-
ger than any hour. That's relativity.              -- Albert Einstein


More information about the U-Boot mailing list