Dear k...@koi8.net,

In message <pine.lnx.4.64ksi.0902181054310.5...@home-gw.koi8.net> you wrote:
> 
> You are multiplying entities. i2c_init() is invoked as a part of system
> bootup process in libXXX/board.c anyways. There is no need for any global
> variables, even non-writable for proposed code to initialize adapters.

Please keep in mind that (even if  it  should  be  different  at  the
moment),  I2C  should  only  be  initialized  when needed, i. e. when
U-Boot is running any code that needs to access the I2C bus, but  not
always after each reset on all systems that have I2C enabled.

This is a mandatory requirement for a rewrite.

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
Accident: A condition in which presence of mind is good, but  absence
of body is better.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to