summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-04-30 12:10:47 -0500
committerWolfgang Denk <wd@denx.de>2008-04-30 22:37:36 +0200
commit886d90176fc257e0ab4d0db05d11d0749bbed3ca (patch)
tree012d024ff3b8162444257dee5cea4d5aa55b3b53
parentb7166e05a513c0806b63b9dfb6f1d77645cede2a (diff)
ColdFire: Fix compilation issue caused by new changes in fsl_i2c.c
Signed-off-by: Luigi Comio Mantellini <luigi.mantellini@idf-hit.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
-rw-r--r--include/asm-m68k/global_data.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-m68k/global_data.h b/include/asm-m68k/global_data.h
index 958736ec70..c897f2b2a8 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 */