summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/m5249sim.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-06-26 03:43:35 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 06:04:24 +0200
commitafd1b836a0dfadeba43ec2167646ac7d428fb800 (patch)
treed1e1d1cfa6fba3450e4525c4a9ee387f91525355 /include/asm-m68knommu/m5249sim.h
parent[PATCH] m68knommu: ColdFire cache flush fixups (diff)
downloadlinux-afd1b836a0dfadeba43ec2167646ac7d428fb800.tar.xz
linux-afd1b836a0dfadeba43ec2167646ac7d428fb800.zip
[PATCH] m68knommu: fix ColdFire 5249 PLL set
Fix PLL setting for the Coldfire 5249 CPU. This brings it into line with the new style frequency configuration of m68knommu parts. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--include/asm-m68knommu/m5249sim.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68knommu/m5249sim.h b/include/asm-m68knommu/m5249sim.h
index 9344f529bd8f..399814f0b219 100644
--- a/include/asm-m68knommu/m5249sim.h
+++ b/include/asm-m68knommu/m5249sim.h
@@ -157,7 +157,7 @@
movel %d0,0x180(%a1) /* set PLL register */
nop
-#ifdef CONFIG_CLOCK_140MHz
+#if CONFIG_CLOCK_FREQ == 140000000
/*
* Set initial clock frequency. This assumes M5249C3 board
* is fitted with 11.2896MHz crystal. It will program the