浏览代码

[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>
Greg Ungerer 19 年之前
父节点
当前提交
afd1b836a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/asm-m68knommu/m5249sim.h

+ 1 - 1
include/asm-m68knommu/m5249sim.h

@@ -157,7 +157,7 @@
 	movel	%d0,0x180(%a1)			/* set PLL register */
 	movel	%d0,0x180(%a1)			/* set PLL register */
 	nop
 	nop
 
 
-#ifdef CONFIG_CLOCK_140MHz
+#if CONFIG_CLOCK_FREQ == 140000000
 	/*
 	/*
 	 *	Set initial clock frequency. This assumes M5249C3 board
 	 *	Set initial clock frequency. This assumes M5249C3 board
 	 *	is fitted with 11.2896MHz crystal. It will program the
 	 *	is fitted with 11.2896MHz crystal. It will program the