[U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework

Heiko Schocher hs at denx.de
Wed Jul 31 07:55:08 CEST 2013


Hello Wolfgang,

Am 31.07.2013 07:18, schrieb Wolfgang Denk:
> Dear Albert ARIBAUD,
>
> In message<20130731000921.724f5c71 at 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


More information about the U-Boot mailing list