summaryrefslogtreecommitdiff
path: root/include/asm-m68k/immap.h
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-08-05 03:58:52 -0500
committerStefan Roese <sr@denx.de>2007-08-08 09:47:31 +0200
commit99c03c175d2689093176facf17c58ce2cb320001 (patch)
treecbb00ece6bb86e86f8c5c328a16c9adce4fac4c6 /include/asm-m68k/immap.h
parent8d1d66af54d305de29d0bbf4aa8c9e6375f7f731 (diff)
downloadu-boot-imx-99c03c175d2689093176facf17c58ce2cb320001.zip
u-boot-imx-99c03c175d2689093176facf17c58ce2cb320001.tar.gz
u-boot-imx-99c03c175d2689093176facf17c58ce2cb320001.tar.bz2
Changed CFG_CLK to gd->bus_clk for CFG_TIMER_PRESCALER. Added DECLARE_GLOBAL_DATA_PTR for time.c
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'include/asm-m68k/immap.h')
-rw-r--r--include/asm-m68k/immap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/immap.h b/include/asm-m68k/immap.h
index 4e238c3..7c267af 100644
--- a/include/asm-m68k/immap.h
+++ b/include/asm-m68k/immap.h
@@ -41,7 +41,7 @@
#define CFG_TMRINTR_NO (INT0_HI_DTMR1)
#define CFG_TMRINTR_MASK (INTC_IPRH_INT33)
#define CFG_TMRINTR_PRI (6)
-#define CFG_TIMER_PRESCALER (((CFG_CLK / 1000000) - 1) << 8)
+#define CFG_TIMER_PRESCALER (((gd->bus_clk / 1000000) - 1) << 8)
#endif
#ifdef CONFIG_MCFPIT