From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Schwebel Date: Wed, 5 Mar 2003 18:39:22 +0100 Subject: [U-Boot-Users] I2C Initialization In-Reply-To: <20030305144441.GD16290@pengutronix.de> References: <05ff01c2e2da$20817c60$6d4ba8c0@alb.sub.de> <20030305144441.GD16290@pengutronix.de> Message-ID: <20030305173922.GQ16290@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 05, 2003 at 03:44:41PM +0100, Robert Schwebel wrote: > All these answers let me conclude that we need a board specific > board_i2c_reset() function. I'll prepare a patch. I have a patch in my local working copy but it becomes more and more difficult to sort it out as my tree begins to differ significantly from the CVS. Wolfgang, can you estimate when you'll find some time to look at my PXA patches? I don't want to push you, but if it'll be some time I'll make another snapshot of my tree available on our homepage. What I've done is to add an CFG_I2C_COLDSTART option. When set i2c_coldstart(), implemented in board/myboard/myboard.c, is called from lib_xxx/board.c early in the boot sequence, especially before the environment was read. 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