From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 31 Jul 2013 07:55:08 +0200 Subject: [U-Boot] [PATCH v3 8/9] tegra: i2c: Enable new CONFIG_SYS_I2C framework In-Reply-To: <20130731051821.DDA1C380480@gemini.denx.de> References: <1367668903-29653-1-git-send-email-hs@denx.de> <1367668903-29653-9-git-send-email-hs@denx.de> <51F6946F.8010500@wwwdotorg.org> <51F740FD.4080505@denx.de> <51F81261.7020008@wwwdotorg.org> <51F81B51.6010305@wwwdotorg.org> <51F83104.5090508@wwwdotorg.org> <51F83570.1010909@wwwdotorg.org> <20130731000921.724f5c71@lilith> <20130731051821.DDA1C380480@gemini.denx.de> Message-ID: <51F8A6BC.1070407@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Wolfgang, Am 31.07.2013 07:18, schrieb Wolfgang Denk: > Dear Albert ARIBAUD, > > In message<20130731000921.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