
31 Jul
2013
31 Jul
'13
7:55 a.m.
Hello Wolfgang,
Am 31.07.2013 07:18, schrieb Wolfgang Denk:
Dear Albert ARIBAUD,
In message20130731000921.724f5c71@lilith you wrote:
board_init_f() is supposed to initialize just enough of the system to allow relocation. Is initializing i2c necessary in this context?
On some boards, yes. For example, if they store the environment in an I2C attached EEPROM. Then you need I2C support early, before console, to read for example the baudrate setting.
Ah, yes. Hmm.. how did in such a case the puts() call in init_func_i2c() work?
bye, Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany