diff options
Diffstat (limited to 'arch/m68knommu/Kconfig')
-rw-r--r-- | arch/m68knommu/Kconfig | 242 |
1 files changed, 99 insertions, 143 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig index d3dcdc9609ee..8b6e723eb82b 100644 --- a/arch/m68knommu/Kconfig +++ b/arch/m68knommu/Kconfig | |||
@@ -119,6 +119,11 @@ config M5307 | |||
119 | help | 119 | help |
120 | Motorola ColdFire 5307 processor support. | 120 | Motorola ColdFire 5307 processor support. |
121 | 121 | ||
122 | config M532x | ||
123 | bool "MCF532x" | ||
124 | help | ||
125 | Freescale (Motorola) ColdFire 532x processor support. | ||
126 | |||
122 | config M5407 | 127 | config M5407 |
123 | bool "MCF5407" | 128 | bool "MCF5407" |
124 | help | 129 | help |
@@ -133,125 +138,43 @@ config M527x | |||
133 | 138 | ||
134 | config COLDFIRE | 139 | config COLDFIRE |
135 | bool | 140 | bool |
136 | depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M5407) | 141 | depends on (M5206 || M5206e || M520x || M523x || M5249 || M527x || M5272 || M528x || M5307 || M532x || M5407) |
137 | default y | 142 | default y |
138 | 143 | ||
139 | choice | 144 | config CLOCK_SET |
140 | prompt "CPU CLOCK Frequency" | 145 | bool "Enable setting the CPU clock frequency" |
141 | default AUTO | 146 | default n |
142 | |||
143 | config CLOCK_AUTO | ||
144 | bool "AUTO" | ||
145 | ---help--- | ||
146 | Define the CPU clock frequency in use. On many boards you don't | ||
147 | really need to know, so you can select the AUTO option. On some | ||
148 | boards you need to know the real clock frequency to determine other | ||
149 | system timing (for example baud rate dividors, etc). Some processors | ||
150 | have an internal PLL and you can select a frequency to run at. | ||
151 | You need to know a little about the internals of your processor to | ||
152 | set this. If in doubt choose the AUTO option. | ||
153 | |||
154 | config CLOCK_11MHz | ||
155 | bool "11MHz" | ||
156 | help | ||
157 | Select a 11MHz CPU clock frequency. | ||
158 | |||
159 | config CLOCK_16MHz | ||
160 | bool "16MHz" | ||
161 | help | ||
162 | Select a 16MHz CPU clock frequency. | ||
163 | |||
164 | config CLOCK_20MHz | ||
165 | bool "20MHz" | ||
166 | help | ||
167 | Select a 20MHz CPU clock frequency. | ||
168 | |||
169 | config CLOCK_24MHz | ||
170 | bool "24MHz" | ||
171 | help | ||
172 | Select a 24MHz CPU clock frequency. | ||
173 | |||
174 | config CLOCK_25MHz | ||
175 | bool "25MHz" | ||
176 | help | ||
177 | Select a 25MHz CPU clock frequency. | ||
178 | |||
179 | config CLOCK_33MHz | ||
180 | bool "33MHz" | ||
181 | help | ||
182 | Select a 33MHz CPU clock frequency. | ||
183 | |||
184 | config CLOCK_40MHz | ||
185 | bool "40MHz" | ||
186 | help | ||
187 | Select a 40MHz CPU clock frequency. | ||
188 | |||
189 | config CLOCK_45MHz | ||
190 | bool "45MHz" | ||
191 | help | ||
192 | Select a 45MHz CPU clock frequency. | ||
193 | |||
194 | config CLOCK_48MHz | ||
195 | bool "48MHz" | ||
196 | help | ||
197 | Select a 48MHz CPU clock frequency. | ||
198 | |||
199 | config CLOCK_50MHz | ||
200 | bool "50MHz" | ||
201 | help | ||
202 | Select a 50MHz CPU clock frequency. | ||
203 | |||
204 | config CLOCK_54MHz | ||
205 | bool "54MHz" | ||
206 | help | ||
207 | Select a 54MHz CPU clock frequency. | ||
208 | |||
209 | config CLOCK_60MHz | ||
210 | bool "60MHz" | ||
211 | help | ||
212 | Select a 60MHz CPU clock frequency. | ||
213 | |||
214 | config CLOCK_62_5MHz | ||
215 | bool "62.5MHz" | ||
216 | help | ||
217 | Select a 62.5MHz CPU clock frequency. | ||
218 | |||
219 | config CLOCK_64MHz | ||
220 | bool "64MHz" | ||
221 | help | ||
222 | Select a 64MHz CPU clock frequency. | ||
223 | |||
224 | config CLOCK_66MHz | ||
225 | bool "66MHz" | ||
226 | help | ||
227 | Select a 66MHz CPU clock frequency. | ||
228 | |||
229 | config CLOCK_70MHz | ||
230 | bool "70MHz" | ||
231 | help | ||
232 | Select a 70MHz CPU clock frequency. | ||
233 | |||
234 | config CLOCK_100MHz | ||
235 | bool "100MHz" | ||
236 | help | ||
237 | Select a 100MHz CPU clock frequency. | ||
238 | |||
239 | config CLOCK_140MHz | ||
240 | bool "140MHz" | ||
241 | help | ||
242 | Select a 140MHz CPU clock frequency. | ||
243 | |||
244 | config CLOCK_150MHz | ||
245 | bool "150MHz" | ||
246 | help | ||
247 | Select a 150MHz CPU clock frequency. | ||
248 | |||
249 | config CLOCK_166MHz | ||
250 | bool "166MHz" | ||
251 | help | 147 | help |
252 | Select a 166MHz CPU clock frequency. | 148 | On some CPU's you do not need to know what the core CPU clock |
253 | 149 | frequency is. On these you can disable clock setting. On some | |
254 | 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. | ||
255 | 178 | ||
256 | config OLDMASK | 179 | config OLDMASK |
257 | bool "Old mask 5307 (1H55J) silicon" | 180 | bool "Old mask 5307 (1H55J) silicon" |
@@ -377,6 +300,12 @@ config COBRA5272 | |||
377 | help | 300 | help |
378 | Support for the senTec COBRA5272 board. | 301 | Support for the senTec COBRA5272 board. |
379 | 302 | ||
303 | config AVNET5282 | ||
304 | bool "Avnet 5282 board support" | ||
305 | depends on M528x | ||
306 | help | ||
307 | Support for the Avnet 5282 board. | ||
308 | |||
380 | config M5282EVB | 309 | config M5282EVB |
381 | bool "Motorola M5282EVB board support" | 310 | bool "Motorola M5282EVB board support" |
382 | depends on M528x | 311 | depends on M528x |
@@ -419,6 +348,18 @@ config SECUREEDGEMP3 | |||
419 | help | 348 | help |
420 | Support for the SnapGear SecureEdge/MP3 platform. | 349 | Support for the SnapGear SecureEdge/MP3 platform. |
421 | 350 | ||
351 | config M5329EVB | ||
352 | bool "Freescale (Motorola) M5329EVB board support" | ||
353 | depends on M532x | ||
354 | help | ||
355 | Support for the Freescale (Motorola) M5329EVB board. | ||
356 | |||
357 | config COBRA5329 | ||
358 | bool "senTec COBRA5329 board support" | ||
359 | depends on M532x | ||
360 | help | ||
361 | Support for the senTec COBRA5329 board. | ||
362 | |||
422 | config M5407C3 | 363 | config M5407C3 |
423 | bool "Motorola M5407C3 board support" | 364 | bool "Motorola M5407C3 board support" |
424 | depends on M5407 | 365 | depends on M5407 |
@@ -487,7 +428,7 @@ config ARNEWSH | |||
487 | config FREESCALE | 428 | config FREESCALE |
488 | bool | 429 | bool |
489 | default y | 430 | default y |
490 | depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5407C3) | 431 | depends on (M5206eC3 || M5208EVB || M5235EVB || M5249C3 || M5271EVB || M5272C3 || M5275EVB || M5282EVB || M5307C3 || M5329EVB || M5407C3) |
491 | 432 | ||
492 | config HW_FEITH | 433 | config HW_FEITH |
493 | bool | 434 | bool |
@@ -508,6 +449,11 @@ config SNEHA | |||
508 | bool | 449 | bool |
509 | default y | 450 | default y |
510 | depends on CPU16B | 451 | depends on CPU16B |
452 | |||
453 | config AVNET | ||
454 | bool | ||
455 | default y | ||
456 | depends on (AVNET5282) | ||
511 | 457 | ||
512 | config LARGE_ALLOCS | 458 | config LARGE_ALLOCS |
513 | bool "Allow allocating large blocks (> 1MB) of memory" | 459 | bool "Allow allocating large blocks (> 1MB) of memory" |
@@ -526,38 +472,46 @@ config 4KSTACKS | |||
526 | running more threads on a system and also reduces the pressure | 472 | running more threads on a system and also reduces the pressure |
527 | on the VM subsystem for higher order allocations. | 473 | on the VM subsystem for higher order allocations. |
528 | 474 | ||
529 | choice | 475 | comment "RAM configuration" |
530 | prompt "RAM size" | ||
531 | default AUTO | ||
532 | |||
533 | config RAMAUTO | ||
534 | bool "AUTO" | ||
535 | ---help--- | ||
536 | Configure the RAM size on your platform. Many platforms can auto | ||
537 | detect this, on those choose the AUTO option. Otherwise set the | ||
538 | RAM size you intend using. | ||
539 | 476 | ||
540 | config RAM4MB | 477 | config RAMBASE |
541 | bool "4MiB" | 478 | hex "Address of the base of RAM" |
479 | default "0" | ||
542 | help | 480 | help |
543 | Set RAM size to be 4MiB. | 481 | Define the address that RAM starts at. On many platforms this is |
482 | 0, the base of the address space. And this is the default. Some | ||
483 | platforms choose to setup their RAM at other addresses within the | ||
484 | processor address space. | ||
544 | 485 | ||
545 | config RAM8MB | 486 | config RAMSIZE |
546 | bool "8MiB" | 487 | hex "Size of RAM (in bytes)" |
488 | default "0x400000" | ||
547 | help | 489 | help |
548 | Set RAM size to be 8MiB. | 490 | Define the size of the system RAM. If you select 0 then the |
491 | kernel will try to probe the RAM size at runtime. This is not | ||
492 | supported on all CPU types. | ||
549 | 493 | ||
550 | config RAM16MB | 494 | config VECTORBASE |
551 | bool "16MiB" | 495 | hex "Address of the base of system vectors" |
496 | default "0" | ||
552 | help | 497 | help |
553 | Set RAM size to be 16MiB. | 498 | Define the address of the the system vectors. Commonly this is |
499 | put at the start of RAM, but it doesn't have to be. On ColdFire | ||
500 | platforms this address is programmed into the VBR register, thus | ||
501 | actually setting the address to use. | ||
554 | 502 | ||
555 | config RAM32MB | 503 | config KERNELBASE |
556 | bool "32MiB" | 504 | hex "Address of the base of kernel code" |
505 | default "0x400" | ||
557 | help | 506 | help |
558 | Set RAM size to be 32MiB. | 507 | Typically on m68k systems the kernel will not start at the base |
559 | 508 | of RAM, but usually some small offset from it. Define the start | |
560 | endchoice | 509 | address of the kernel here. The most common setup will have the |
510 | processor vectors at the base of RAM and then the start of the | ||
511 | kernel. On some platforms some RAM is reserved for boot loaders | ||
512 | and the kernel starts after that. The 0x400 default was based on | ||
513 | a system with the RAM based at address 0, and leaving enough room | ||
514 | for the theoretical maximum number of 256 vectors. | ||
561 | 515 | ||
562 | choice | 516 | choice |
563 | prompt "RAM bus width" | 517 | prompt "RAM bus width" |
@@ -565,7 +519,7 @@ choice | |||
565 | 519 | ||
566 | config RAMAUTOBIT | 520 | config RAMAUTOBIT |
567 | bool "AUTO" | 521 | bool "AUTO" |
568 | ---help--- | 522 | help |
569 | Select the physical RAM data bus size. Not needed on most platforms, | 523 | Select the physical RAM data bus size. Not needed on most platforms, |
570 | so you can generally choose AUTO. | 524 | so you can generally choose AUTO. |
571 | 525 | ||
@@ -599,7 +553,9 @@ config RAMKERNEL | |||
599 | config ROMKERNEL | 553 | config ROMKERNEL |
600 | bool "ROM" | 554 | bool "ROM" |
601 | help | 555 | help |
602 | The kernel will be resident in FLASH/ROM when running. | 556 | The kernel will be resident in FLASH/ROM when running. This is |
557 | often referred to as Execute-in-Place (XIP), since the kernel | ||
558 | code executes from the position it is stored in the FLASH/ROM. | ||
603 | 559 | ||
604 | endchoice | 560 | endchoice |
605 | 561 | ||