On Wed, 22 Oct 2008 17:53:00 -0500
Timur Tabi <[EMAIL PROTECTED]> wrote:

> Detlef Vollmann wrote:
> 
> > Very early.  We have a board with the environment in EEPROM,
> > and EEPROM at I2C.
> 
> Which board is that?  Do you use i2c_reg_read() to read EEPROM, or i2c_read()?
> 

If you look at lib_ppc/board.c you will see that
a) i2c_init() is called _while still running out of flash_ because it's
in init_sequence[] which is used in board_init_f().
b) i2c_init() is also called in devices_init() which is invoked in
board_init_r() after u-boot is running out of RAM.

So it would appear that most scenarios are already covered for 8xx.  How
it looks for other architectures I can't say.

---
Gary Jennejohn
*********************************************************************
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: [EMAIL PROTECTED]
*********************************************************************

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to