[U-Boot-Users] [PATCH] ColdFire: Fix compilation issue caused by new changes in fsl_i2c.c

Tsi-Chung Liew Tsi-Chung.Liew at freescale.com
Wed Apr 30 19:10:47 CEST 2008


From: TsiChung Liew <Tsi-Chung.Liew at freescale.com>

Signed-off-by: Luigi Comio Mantellini <luigi.mantellini at idf-hit.com>
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew at freescale.com>
---
 include/asm-m68k/global_data.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/asm-m68k/global_data.h b/include/asm-m68k/global_data.h
index 958736e..c897f2b 100644
--- a/include/asm-m68k/global_data.h
+++ b/include/asm-m68k/global_data.h
@@ -47,6 +47,10 @@ typedef	struct	global_data {
 	unsigned long	vco_clk;
 	unsigned long	flb_clk;
 #endif
+#ifdef CONFIG_FSL_I2C
+	unsigned long	i2c1_clk;
+	unsigned long	i2c2_clk;
+#endif
 	unsigned long	ram_size;	/* RAM size */
 	unsigned long	reloc_off;	/* Relocation Offset */
 	unsigned long	reset_status;	/* reset status register at boot	*/
-- 
1.5.4.1





More information about the U-Boot mailing list