From: Wolfgang Denk Date: Thu, 27 Mar 2008 15:56:30 +0100 Subject: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c In-Reply-To: Your message of "Thu, 27 Mar 2008 09:46:23 EST." <47EBB33F.9000308@freescale.com> Message-ID: <20080327145630.D93EC248BE@gemini.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 In message <47EBB33F.9000308@freescale.com> you wrote: > > I suggest that you get rid of the #ifdef and always define i2c1_clk. The value > will be set to 0 on systems that don't have an I2C. I'm planning on submitting > patches to asm-ppc/global_data.h to get rid of a bunch of #ifdefs because it's > getting too messy. Make sure you don't increase the size of the global data by such pataches. This is critical on some systems. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Every little picofarad has a nanohenry all its own. - Don Vonada