From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 5 Feb 2010 08:24:02 +0100 Subject: [U-Boot] I2C Register In-Reply-To: <741199.65716.qm@web46103.mail.sp1.yahoo.com> References: <741199.65716.qm@web46103.mail.sp1.yahoo.com> Message-ID: <201002050824.02674.sr@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 On Friday 05 February 2010 07:41:27 Ronny D wrote: > It is not a normal AMCC PPC4xx, its a customized PPC4xx chip. so I2C code > wont work for me as it is. I see. So you should probably not base your I2C driver code on the PPC4xx code. Perhaps you could use the soft_i2c code, where you only need some GPIO's to control the I2C signals. > i will have to map my register with i2c register used by u-boot. > > Now i have downloaded latest u-boot version(Jan 25 2010 12:37 Link > u-boot-latest.tar.bz2 -> u-boot-2009.11.1.tar.bz2) from ftp. > > still ppc4xx_i2c structure i could not found. That's because the source code on the FTP server is reflecting the last release version. Please use the latest version from the git repository instead: http://git.denx.de/?p=u-boot.git;a=summary There is also the possibility to download a snapshort in this web page, if you can't use git for some reason. Cheers, Stefan -- 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: office at denx.de