summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/coldfire.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-03-09 14:19:08 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-03-15 21:01:57 +1000
commitce3de78a1c9504dba1781e47613b397e4028ae2b (patch)
treec7d73f9e66786768e3418aa9a0038716d4bf342b /arch/m68k/include/asm/coldfire.h
parent442ca465c0e775a0808e02d4fcddeddb2fcc882c (diff)
m68knommu: remove ColdFire CLOCK_DIV config option
The reality is that you do not need the abiltity to configure the clock divider for ColdFire CPUs. It is a fixed ratio on any given ColdFire family member. It is not the same for all ColdFire parts, but it is always the same in a model range. So hard define the divider for each supported ColdFire CPU type and remove the Kconfig option. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/coldfire.h')
-rw-r--r--arch/m68k/include/asm/coldfire.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/m68k/include/asm/coldfire.h b/arch/m68k/include/asm/coldfire.h
index 98d1d25101f..c94557b9144 100644
--- a/arch/m68k/include/asm/coldfire.h
+++ b/arch/m68k/include/asm/coldfire.h
@@ -14,14 +14,13 @@
/*
- * Define master clock frequency. This is essentially done at config
- * time now. No point enumerating dozens of possible clock options
- * here. Also the peripheral clock (bus clock) divide ratio is set
- * at config time too.
+ * Define master clock frequency. This is done at config time now.
+ * No point enumerating dozens of possible clock options here. And
+ * in any case new boards come along from time to time that have yet
+ * another different clocking frequency.
*/
#ifdef CONFIG_CLOCK_SET
#define MCF_CLK CONFIG_CLOCK_FREQ
-#define MCF_BUSCLK (CONFIG_CLOCK_FREQ / CONFIG_CLOCK_DIV)
#else
#error "Don't know what your ColdFire CPU clock frequency is??"
#endif