diff options
| -rw-r--r-- | arch/m68knommu/Kconfig | 148 |
1 files changed, 33 insertions, 115 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index 640a4bf3249b..6c6980b9b6d4 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
| @@ -141,122 +141,40 @@ config COLDFIRE | |||
| 141 | depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407) | 141 | depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407) |
| 142 | default y | 142 | default y |
| 143 | 143 | ||
| 144 | choice | 144 | config CLOCK_SET |
| 145 | prompt "CPU CLOCK Frequency" | 145 | bool "Enable setting the CPU clock frequency" |
| 146 | default AUTO | 146 | default n |
| 147 | |||
| 148 | config CLOCK_AUTO | ||
| 149 | bool "AUTO" | ||
| 150 | ---help--- | ||
| 151 | Define the CPU clock frequency in use. On many boards you don't | ||
| 152 | really need to know, so you can select the AUTO option. On some | ||
| 153 | boards you need to know the real clock frequency to determine other | ||
| 154 | system timing (for example baud rate dividors, etc). Some processors | ||
| 155 | have an internal PLL and you can select a frequency to run at. | ||
| 156 | You need to know a little about the internals of your processor to | ||
| 157 | set this. If in doubt choose the AUTO option. | ||
| 158 | |||
| 159 | config CLOCK_11MHz | ||
| 160 | bool "11MHz" | ||
| 161 | help | ||
| 162 | Select a 11MHz CPU clock frequency. | ||
| 163 | |||
| 164 | config CLOCK_16MHz | ||
| 165 | bool "16MHz" | ||
| 166 | help | ||
| 167 | Select a 16MHz CPU clock frequency. | ||
| 168 | |||
| 169 | config CLOCK_20MHz | ||
| 170 | bool "20MHz" | ||
| 171 | help | ||
| 172 | Select a 20MHz CPU clock frequency. | ||
| 173 | |||
| 174 | config CLOCK_24MHz | ||
| 175 | bool "24MHz" | ||
| 176 | help | ||
| 177 | Select a 24MHz CPU clock frequency. | ||
| 178 | |||
| 179 | config CLOCK_25MHz | ||
| 180 | bool "25MHz" | ||
| 181 | help | ||
| 182 | Select a 25MHz CPU clock frequency. | ||
| 183 | |||
| 184 | config CLOCK_33MHz | ||
| 185 | bool "33MHz" | ||
| 186 | help | ||
| 187 | Select a 33MHz CPU clock frequency. | ||
| 188 | |||
| 189 | config CLOCK_40MHz | ||
| 190 | bool "40MHz" | ||
| 191 | help | ||
| 192 | Select a 40MHz CPU clock frequency. | ||
| 193 | |||
| 194 | config CLOCK_45MHz | ||
| 195 | bool "45MHz" | ||
| 196 | help | ||
| 197 | Select a 45MHz CPU clock frequency. | ||
| 198 | |||
| 199 | config CLOCK_48MHz | ||
| 200 | bool "48MHz" | ||
| 201 | help | ||
| 202 | Select a 48MHz CPU clock frequency. | ||
| 203 | |||
| 204 | config CLOCK_50MHz | ||
| 205 | bool "50MHz" | ||
| 206 | help | ||
| 207 | Select a 50MHz CPU clock frequency. | ||
| 208 | |||
| 209 | config CLOCK_54MHz | ||
| 210 | bool "54MHz" | ||
| 211 | help | ||
| 212 | Select a 54MHz CPU clock frequency. | ||
| 213 | |||
| 214 | config CLOCK_60MHz | ||
| 215 | bool "60MHz" | ||
| 216 | help | ||
| 217 | Select a 60MHz CPU clock frequency. | ||
| 218 | |||
| 219 | config CLOCK_62_5MHz | ||
| 220 | bool "62.5MHz" | ||
| 221 | help | ||
| 222 | Select a 62.5MHz CPU clock frequency. | ||
| 223 | |||
| 224 | config CLOCK_64MHz | ||
| 225 | bool "64MHz" | ||
| 226 | help | ||
| 227 | Select a 64MHz CPU clock frequency. | ||
| 228 | |||
| 229 | config CLOCK_66MHz | ||
| 230 | bool "66MHz" | ||
| 231 | help | ||
| 232 | Select a 66MHz CPU clock frequency. | ||
| 233 | |||
| 234 | config CLOCK_70MHz | ||
| 235 | bool "70MHz" | ||
| 236 | help | ||
| 237 | Select a 70MHz CPU clock frequency. | ||
| 238 | |||
| 239 | config CLOCK_100MHz | ||
| 240 | bool "100MHz" | ||
| 241 | help | ||
| 242 | Select a 100MHz CPU clock frequency. | ||
| 243 | |||
| 244 | config CLOCK_140MHz | ||
| 245 | bool "140MHz" | ||
| 246 | help | ||
| 247 | Select a 140MHz CPU clock frequency. | ||
| 248 | |||
| 249 | config CLOCK_150MHz | ||
| 250 | bool "150MHz" | ||
| 251 | help | ||
| 252 | Select a 150MHz CPU clock frequency. | ||
| 253 | |||
| 254 | config CLOCK_166MHz | ||
| 255 | bool "166MHz" | ||
| 256 | help | 147 | help |
| 257 | Select a 166MHz CPU clock frequency. | 148 | On some CPU's you do not need to know what the core CPU clock |
| 258 | 149 | frequency is. On these you can disable clock setting. On some | |
| 259 | endchoice | 150 | traditional 68K parts, and on all ColdFire parts you need to set |
| 151 | the appropriate CPU clock frequency. On these devices many of the | ||
| 152 | onboard peripherals derive their timing from the master CPU clock | ||
| 153 | frequency. | ||
| 154 | |||
| 155 | config CLOCK_FREQ | ||
| 156 | int "Set the core clock frequency" | ||
| 157 | default "66666666" | ||
| 158 | depends on CLOCK_SET | ||
| 159 | help | ||
| 160 | Define the CPU clock frequency in use. This is the core clock | ||
| 161 | frequency, it may or may not be the same as the external clock | ||
| 162 | crystal fitted to your board. Some processors have an internal | ||
| 163 | PLL and can have their frequency programmed at run time, others | ||
| 164 | use internal dividers. In gernal the kernel won't setup a PLL | ||
| 165 | if it is fitted (there are some expections). This value will be | ||
| 166 | specific to the exact CPU that you are using. | ||
| 167 | |||
| 168 | config CLOCK_DIV | ||
| 169 | int "Set the core/bus clock divide ratio" | ||
| 170 | default "1" | ||
| 171 | depends on CLOCK_SET | ||
| 172 | help | ||
| 173 | On many SoC style CPUs the master CPU clock is also used to drive | ||
| 174 | on-chip peripherals. The clock that is distributed to these | ||
| 175 | peripherals is sometimes a fixed ratio of the master clock | ||
| 176 | frequency. If so then set this to the divider ration of the | ||
| 177 | master clock to the peripheral clock. If not sure then select 1. | ||
| 260 | 178 | ||
| 261 | config OLDMASK | 179 | config OLDMASK |
| 262 | bool "Old mask 5307 (1H55J) silicon" | 180 | bool "Old mask 5307 (1H55J) silicon" |
