[U-Boot] Odd value for I2C_TIMEOUT in fsl_i2c.c

Wolfgang Denk wd at denx.de
Fri Sep 4 21:27:42 CEST 2009


Dear Scott Wood,

In message <20090904183645.GB20066 at b07421-ec1.am.freescale.net> you wrote:
>
> > CONFIG_SYS_HZ is a constant of 1000. We do not change constants.
> 
> We shouldn't call them CONFIGurable, then. :-)

Agreed. This should never have made it into public code. But it
slipped through some 9 years ago, and I cannot turn back the clocks
(at least not that far).

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

IIRC there are a number of places which make such an assumption,
incorrectly.

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
To get something done, a committee should consist  of  no  more  than
three men, two of them absent.


More information about the U-Boot mailing list