On Fri, Sep 04, 2009 at 10:31:00AM +0200, Wolfgang Denk wrote:
> > CONFIG_HZ is 1000, so I2C_TIMEOUT is equal to 250.  However, the way
> > it's used, 250 isn't the number of ticks per second, it's used as
> > number of microseconds.  If CONFIG_HZ is changed to 100, does that
> > mean that we want to call usec2ticks(25)?
> 
> CONFIG_SYS_HZ is a constant of 1000. We do not change constants.

We shouldn't call them CONFIGurable, then. :-)

Out of curiosity, what is the reason why CONFIG_SYS_HZ must be 1000?

-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to