[U-Boot-Users] I2C Initialization

Robert Schwebel robert at schwebel.de
Wed Mar 5 15:44:41 CET 2003


On Wed, Mar 05, 2003 at 08:05:45AM -0500, Adam Bezanson wrote:
> I don't have the ability to control the I2C lines directly from the
> processor. I'm using a 7410. I have a System controller chip which has
> the I2C master controller in it. All it provides is a higher lever
> indirect access register interface to control I2C transactions.
> 
> I have though about controlling the power supply to the I2C slaves and
> have them controled by register bits in memory space. But this would
> require alot of rework of the hardware at several places in my
> particular system.
> 
> In terms of your question of the system hanging while masking reset to
> the processor, I was thinking of adding a timer in hardware to unmask
> the reset if it's set too long. Thanks for making sure I've thought of
> all the obvious corner cases.

All these answers let me conclude that we need a board specific
board_i2c_reset() function. I'll prepare a patch. 

Robert 
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4




More information about the U-Boot mailing list