diff options
author | Sebastian Siewior <bigeasy@linutronix.de> | 2008-04-28 05:43:04 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2008-07-23 01:11:28 -0400 |
commit | 2b9a69861c39ae4c232385def833816acc07a0a4 (patch) | |
tree | d4edc8214ea3bb32e61128de78588cb8058cd863 /arch/m68knommu/Kconfig | |
parent | 6dbeb456baaba05d60e7ca8213da26142062408a (diff) |
m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support
The PIT code has been changed in order to suppport GENERIC_CLOCKEVENTS.
The priority of the PIT clocksource has been decreased in favor of the
DMA timer.
pit_cycles_per_jiffy become a constant (PIT_CYCLES_PER_JIFFY) because it
is known at compile time and does not change afterwards.
Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de>
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/Kconfig')
-rw-r--r-- | arch/m68knommu/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index bfd35304d586..2e7515e8db98 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
@@ -66,6 +66,10 @@ config TIME_LOW_RES | |||
66 | bool | 66 | bool |
67 | default y | 67 | default y |
68 | 68 | ||
69 | config GENERIC_CLOCKEVENTS | ||
70 | bool | ||
71 | default n | ||
72 | |||
69 | config NO_IOPORT | 73 | config NO_IOPORT |
70 | def_bool y | 74 | def_bool y |
71 | 75 | ||
@@ -112,11 +116,13 @@ config M5206e | |||
112 | 116 | ||
113 | config M520x | 117 | config M520x |
114 | bool "MCF520x" | 118 | bool "MCF520x" |
119 | select GENERIC_CLOCKEVENTS | ||
115 | help | 120 | help |
116 | Freescale Coldfire 5207/5208 processor support. | 121 | Freescale Coldfire 5207/5208 processor support. |
117 | 122 | ||
118 | config M523x | 123 | config M523x |
119 | bool "MCF523x" | 124 | bool "MCF523x" |
125 | select GENERIC_CLOCKEVENTS | ||
120 | help | 126 | help |
121 | Freescale Coldfire 5230/1/2/4/5 processor support | 127 | Freescale Coldfire 5230/1/2/4/5 processor support |
122 | 128 | ||
@@ -142,6 +148,7 @@ config M5275 | |||
142 | 148 | ||
143 | config M528x | 149 | config M528x |
144 | bool "MCF528x" | 150 | bool "MCF528x" |
151 | select GENERIC_CLOCKEVENTS | ||
145 | help | 152 | help |
146 | Motorola ColdFire 5280/5282 processor support. | 153 | Motorola ColdFire 5280/5282 processor support. |
147 | 154 | ||
@@ -165,6 +172,7 @@ endchoice | |||
165 | config M527x | 172 | config M527x |
166 | bool | 173 | bool |
167 | depends on (M5271 || M5275) | 174 | depends on (M5271 || M5275) |
175 | select GENERIC_CLOCKEVENTS | ||
168 | default y | 176 | default y |
169 | 177 | ||
170 | config COLDFIRE | 178 | config COLDFIRE |
@@ -678,6 +686,9 @@ endchoice | |||
678 | if COLDFIRE | 686 | if COLDFIRE |
679 | source "kernel/Kconfig.preempt" | 687 | source "kernel/Kconfig.preempt" |
680 | endif | 688 | endif |
689 | |||
690 | source "kernel/time/Kconfig" | ||
691 | |||
681 | source "mm/Kconfig" | 692 | source "mm/Kconfig" |
682 | 693 | ||
683 | endmenu | 694 | endmenu |