From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Thu, 27 Mar 2008 12:50:42 -0500 Subject: [U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c In-Reply-To: <4791E710007FEB4BBF83775D787F462F06EAF4CF@az33exm22.fsl.freescale.net> References: <1205534729-26151-1-git-send-email-timur@freescale.com> <1206609090.23794.11.camel@localhost> <1206611122.23794.13.camel@localhost> <47EBB33F.9000308@freescale.com> <4791E710007FEB4BBF83775D787F462F06EAF4CF@az33exm22.fsl.freescale.net> Message-ID: <47EBDE72.3080504@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Liew Tsi Chung wrote: > 547x/548x are not the only ColdFire affected, 5235, 5373, 5275, 5329, > 54455, 52277, and 5271 are required to update as well. Then how about doing this: --- a/include/asm-m68k/global_data.h +++ b/include/asm-m68k/global_data.h @@ -47,6 +47,9 @@ typedef struct global_data { unsigned long vco_clk; unsigned long flb_clk; #endif +#ifdef CONFIG_FSL_I2C + u32 i2c1_clk; +#endif unsigned long ram_size; /* RAM size */ unsigned long reloc_off; /* Relocation Offset */ unsigned long reset_status; /* reset status register at boot -- Timur Tabi Linux kernel developer at Freescale