[U-Boot-Users] [PATCH] Add support for setting the I2C bus speed in fsl_i2c.c

Liew Tsi Chung Tsi-chung.Liew at freescale.com
Thu Mar 27 19:42:42 CET 2008


Yes. Thanks.

Regards,
TsiChung 

-----Original Message-----
From: Tabi Timur 
Sent: Thursday, March 27, 2008 12:51 PM
To: Liew Tsi Chung
Cc: Luigi 'Comio' Mantellini; U-boot-Users
Subject: Re: [U-Boot-Users] [PATCH] Add support for setting the I2C bus
speed in fsl_i2c.c

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




More information about the U-Boot mailing list