[U-Boot-Users] [PATCH 04/10 v2] [ARM] TQMA31: add new board with i.MX31 processor

Wolfgang Denk wd at denx.de
Thu Jul 10 10:49:09 CEST 2008


In message <20080710081725.GP4595 at pengutronix.de> you wrote:
> 
> >> CFG_HZ is a constant and has to be 1000.
> 
> Why is it a board specific define then?

Historical reasons only. When PPCBoot was created, I played with that
parameter to get a feeling  for  the  involved  overhead,  etc.  This
should  really  be removed, but as you know too many boards depend on
this.

> You could add a software divider in get_timer(). But I think it's better
> to define CFG_HZ to whatever the timer frequency is. At least 49 boards
> do it.

That's what I mean: many boards need fixing.

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
A man either lives life as it happens to him, meets  it  head-on  and
licks it, or he turns his back on it and starts to wither away.
	-- Dr. Boyce, "The Menagerie" ("The Cage"), stardate unknown




More information about the U-Boot mailing list