diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 126 |
1 files changed, 59 insertions, 67 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index ae6a60f10120..c078849df7f9 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -5,6 +5,10 @@ | |||
5 | 5 | ||
6 | mainmenu "Blackfin Kernel Configuration" | 6 | mainmenu "Blackfin Kernel Configuration" |
7 | 7 | ||
8 | config SYMBOL_PREFIX | ||
9 | string | ||
10 | default "_" | ||
11 | |||
8 | config MMU | 12 | config MMU |
9 | def_bool n | 13 | def_bool n |
10 | 14 | ||
@@ -19,15 +23,21 @@ config RWSEM_XCHGADD_ALGORITHM | |||
19 | 23 | ||
20 | config BLACKFIN | 24 | config BLACKFIN |
21 | def_bool y | 25 | def_bool y |
26 | select HAVE_ARCH_KGDB | ||
27 | select HAVE_ARCH_TRACEHOOK | ||
22 | select HAVE_FUNCTION_GRAPH_TRACER | 28 | select HAVE_FUNCTION_GRAPH_TRACER |
23 | select HAVE_FUNCTION_TRACER | 29 | select HAVE_FUNCTION_TRACER |
30 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | ||
24 | select HAVE_IDE | 31 | select HAVE_IDE |
25 | select HAVE_KERNEL_GZIP | 32 | select HAVE_KERNEL_GZIP if RAMKERNEL |
26 | select HAVE_KERNEL_BZIP2 | 33 | select HAVE_KERNEL_BZIP2 if RAMKERNEL |
27 | select HAVE_KERNEL_LZMA | 34 | select HAVE_KERNEL_LZMA if RAMKERNEL |
28 | select HAVE_OPROFILE | 35 | select HAVE_OPROFILE |
29 | select ARCH_WANT_OPTIONAL_GPIOLIB | 36 | select ARCH_WANT_OPTIONAL_GPIOLIB |
30 | 37 | ||
38 | config GENERIC_CSUM | ||
39 | def_bool y | ||
40 | |||
31 | config GENERIC_BUG | 41 | config GENERIC_BUG |
32 | def_bool y | 42 | def_bool y |
33 | depends on BUG | 43 | depends on BUG |
@@ -38,9 +48,6 @@ config ZONE_DMA | |||
38 | config GENERIC_FIND_NEXT_BIT | 48 | config GENERIC_FIND_NEXT_BIT |
39 | def_bool y | 49 | def_bool y |
40 | 50 | ||
41 | config GENERIC_HWEIGHT | ||
42 | def_bool y | ||
43 | |||
44 | config GENERIC_HARDIRQS | 51 | config GENERIC_HARDIRQS |
45 | def_bool y | 52 | def_bool y |
46 | 53 | ||
@@ -173,7 +180,7 @@ config BF539 | |||
173 | help | 180 | help |
174 | BF539 Processor Support. | 181 | BF539 Processor Support. |
175 | 182 | ||
176 | config BF542 | 183 | config BF542_std |
177 | bool "BF542" | 184 | bool "BF542" |
178 | help | 185 | help |
179 | BF542 Processor Support. | 186 | BF542 Processor Support. |
@@ -183,7 +190,7 @@ config BF542M | |||
183 | help | 190 | help |
184 | BF542 Processor Support. | 191 | BF542 Processor Support. |
185 | 192 | ||
186 | config BF544 | 193 | config BF544_std |
187 | bool "BF544" | 194 | bool "BF544" |
188 | help | 195 | help |
189 | BF544 Processor Support. | 196 | BF544 Processor Support. |
@@ -193,7 +200,7 @@ config BF544M | |||
193 | help | 200 | help |
194 | BF544 Processor Support. | 201 | BF544 Processor Support. |
195 | 202 | ||
196 | config BF547 | 203 | config BF547_std |
197 | bool "BF547" | 204 | bool "BF547" |
198 | help | 205 | help |
199 | BF547 Processor Support. | 206 | BF547 Processor Support. |
@@ -203,7 +210,7 @@ config BF547M | |||
203 | help | 210 | help |
204 | BF547 Processor Support. | 211 | BF547 Processor Support. |
205 | 212 | ||
206 | config BF548 | 213 | config BF548_std |
207 | bool "BF548" | 214 | bool "BF548" |
208 | help | 215 | help |
209 | BF548 Processor Support. | 216 | BF548 Processor Support. |
@@ -213,7 +220,7 @@ config BF548M | |||
213 | help | 220 | help |
214 | BF548 Processor Support. | 221 | BF548 Processor Support. |
215 | 222 | ||
216 | config BF549 | 223 | config BF549_std |
217 | bool "BF549" | 224 | bool "BF549" |
218 | help | 225 | help |
219 | BF549 Processor Support. | 226 | BF549 Processor Support. |
@@ -232,7 +239,7 @@ endchoice | |||
232 | 239 | ||
233 | config SMP | 240 | config SMP |
234 | depends on BF561 | 241 | depends on BF561 |
235 | select GENERIC_CLOCKEVENTS | 242 | select TICKSOURCE_CORETMR |
236 | bool "Symmetric multi-processing support" | 243 | bool "Symmetric multi-processing support" |
237 | ---help--- | 244 | ---help--- |
238 | This enables support for systems with more than one CPU, | 245 | This enables support for systems with more than one CPU, |
@@ -246,11 +253,20 @@ config NR_CPUS | |||
246 | depends on SMP | 253 | depends on SMP |
247 | default 2 if BF561 | 254 | default 2 if BF561 |
248 | 255 | ||
256 | config HOTPLUG_CPU | ||
257 | bool "Support for hot-pluggable CPUs" | ||
258 | depends on SMP && HOTPLUG | ||
259 | default y | ||
260 | |||
249 | config IRQ_PER_CPU | 261 | config IRQ_PER_CPU |
250 | bool | 262 | bool |
251 | depends on SMP | 263 | depends on SMP |
252 | default y | 264 | default y |
253 | 265 | ||
266 | config HAVE_LEGACY_PER_CPU_AREA | ||
267 | def_bool y | ||
268 | depends on SMP | ||
269 | |||
254 | config BF_REV_MIN | 270 | config BF_REV_MIN |
255 | int | 271 | int |
256 | default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) | 272 | default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) |
@@ -307,31 +323,11 @@ config BF_REV_NONE | |||
307 | 323 | ||
308 | endchoice | 324 | endchoice |
309 | 325 | ||
310 | config BF51x | ||
311 | bool | ||
312 | depends on (BF512 || BF514 || BF516 || BF518) | ||
313 | default y | ||
314 | |||
315 | config BF52x | ||
316 | bool | ||
317 | depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527) | ||
318 | default y | ||
319 | |||
320 | config BF53x | 326 | config BF53x |
321 | bool | 327 | bool |
322 | depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537) | 328 | depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537) |
323 | default y | 329 | default y |
324 | 330 | ||
325 | config BF54xM | ||
326 | bool | ||
327 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) | ||
328 | default y | ||
329 | |||
330 | config BF54x | ||
331 | bool | ||
332 | depends on (BF542 || BF544 || BF547 || BF548 || BF549 || BF54xM) | ||
333 | default y | ||
334 | |||
335 | config MEM_GENERIC_BOARD | 331 | config MEM_GENERIC_BOARD |
336 | bool | 332 | bool |
337 | depends on GENERIC_BOARD | 333 | depends on GENERIC_BOARD |
@@ -362,7 +358,7 @@ config MEM_MT48LC8M32B2B5_7 | |||
362 | 358 | ||
363 | config MEM_MT48LC32M16A2TG_75 | 359 | config MEM_MT48LC32M16A2TG_75 |
364 | bool | 360 | bool |
365 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP) | 361 | depends on (BFIN527_EZKIT || BFIN527_EZKIT_V2 || BFIN532_IP0X || BLACKSTAMP) |
366 | default y | 362 | default y |
367 | 363 | ||
368 | config MEM_MT48LC32M8A2_75 | 364 | config MEM_MT48LC32M8A2_75 |
@@ -414,10 +410,18 @@ config BOOT_LOAD | |||
414 | config ROM_BASE | 410 | config ROM_BASE |
415 | hex "Kernel ROM Base" | 411 | hex "Kernel ROM Base" |
416 | depends on ROMKERNEL | 412 | depends on ROMKERNEL |
417 | default "0x20040000" | 413 | default "0x20040040" |
418 | range 0x20000000 0x20400000 if !(BF54x || BF561) | 414 | range 0x20000000 0x20400000 if !(BF54x || BF561) |
419 | range 0x20000000 0x30000000 if (BF54x || BF561) | 415 | range 0x20000000 0x30000000 if (BF54x || BF561) |
420 | help | 416 | help |
417 | Make sure your ROM base does not include any file-header | ||
418 | information that is prepended to the kernel. | ||
419 | |||
420 | For example, the bootable U-Boot format (created with | ||
421 | mkimage) has a 64 byte header (0x40). So while the image | ||
422 | you write to flash might start at say 0x20080000, you have | ||
423 | to add 0x40 to get the kernel's ROM base as it will come | ||
424 | after the header. | ||
421 | 425 | ||
422 | comment "Clock/PLL Setup" | 426 | comment "Clock/PLL Setup" |
423 | 427 | ||
@@ -461,7 +465,7 @@ config VCO_MULT | |||
461 | range 1 64 | 465 | range 1 64 |
462 | default "22" if BFIN533_EZKIT | 466 | default "22" if BFIN533_EZKIT |
463 | default "45" if BFIN533_STAMP | 467 | default "45" if BFIN533_STAMP |
464 | default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM || BFIN538_EZKIT) | 468 | default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN527_EZKIT_V2 || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM || BFIN538_EZKIT) |
465 | default "22" if BFIN533_BLUETECHNIX_CM | 469 | default "22" if BFIN533_BLUETECHNIX_CM |
466 | default "20" if (BFIN537_BLUETECHNIX_CM_E || BFIN537_BLUETECHNIX_CM_U || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) | 470 | default "20" if (BFIN537_BLUETECHNIX_CM_E || BFIN537_BLUETECHNIX_CM_U || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) |
467 | default "20" if BFIN561_EZKIT | 471 | default "20" if BFIN561_EZKIT |
@@ -622,23 +626,23 @@ config GENERIC_CLOCKEVENTS | |||
622 | bool "Generic clock events" | 626 | bool "Generic clock events" |
623 | default y | 627 | default y |
624 | 628 | ||
625 | choice | 629 | menu "Clock event device" |
626 | prompt "Kernel Tick Source" | ||
627 | depends on GENERIC_CLOCKEVENTS | 630 | depends on GENERIC_CLOCKEVENTS |
628 | default TICKSOURCE_CORETMR | ||
629 | |||
630 | config TICKSOURCE_GPTMR0 | 631 | config TICKSOURCE_GPTMR0 |
631 | bool "Gptimer0 (SCLK domain)" | 632 | bool "GPTimer0" |
633 | depends on !SMP | ||
632 | select BFIN_GPTIMERS | 634 | select BFIN_GPTIMERS |
633 | 635 | ||
634 | config TICKSOURCE_CORETMR | 636 | config TICKSOURCE_CORETMR |
635 | bool "Core timer (CCLK domain)" | 637 | bool "Core timer" |
636 | 638 | default y | |
637 | endchoice | 639 | endmenu |
638 | 640 | ||
639 | config CYCLES_CLOCKSOURCE | 641 | menu "Clock souce" |
640 | bool "Use 'CYCLES' as a clocksource" | ||
641 | depends on GENERIC_CLOCKEVENTS | 642 | depends on GENERIC_CLOCKEVENTS |
643 | config CYCLES_CLOCKSOURCE | ||
644 | bool "CYCLES" | ||
645 | default y | ||
642 | depends on !BFIN_SCRATCH_REG_CYCLES | 646 | depends on !BFIN_SCRATCH_REG_CYCLES |
643 | depends on !SMP | 647 | depends on !SMP |
644 | help | 648 | help |
@@ -649,10 +653,10 @@ config CYCLES_CLOCKSOURCE | |||
649 | writing the registers will most likely crash the kernel. | 653 | writing the registers will most likely crash the kernel. |
650 | 654 | ||
651 | config GPTMR0_CLOCKSOURCE | 655 | config GPTMR0_CLOCKSOURCE |
652 | bool "Use GPTimer0 as a clocksource" | 656 | bool "GPTimer0" |
653 | select BFIN_GPTIMERS | 657 | select BFIN_GPTIMERS |
654 | depends on GENERIC_CLOCKEVENTS | ||
655 | depends on !TICKSOURCE_GPTMR0 | 658 | depends on !TICKSOURCE_GPTMR0 |
659 | endmenu | ||
656 | 660 | ||
657 | config ARCH_USES_GETTIMEOFFSET | 661 | config ARCH_USES_GETTIMEOFFSET |
658 | depends on !GENERIC_CLOCKEVENTS | 662 | depends on !GENERIC_CLOCKEVENTS |
@@ -913,6 +917,12 @@ config DMA_UNCACHED_2M | |||
913 | bool "Enable 2M DMA region" | 917 | bool "Enable 2M DMA region" |
914 | config DMA_UNCACHED_1M | 918 | config DMA_UNCACHED_1M |
915 | bool "Enable 1M DMA region" | 919 | bool "Enable 1M DMA region" |
920 | config DMA_UNCACHED_512K | ||
921 | bool "Enable 512K DMA region" | ||
922 | config DMA_UNCACHED_256K | ||
923 | bool "Enable 256K DMA region" | ||
924 | config DMA_UNCACHED_128K | ||
925 | bool "Enable 128K DMA region" | ||
916 | config DMA_UNCACHED_NONE | 926 | config DMA_UNCACHED_NONE |
917 | bool "Disable DMA region" | 927 | bool "Disable DMA region" |
918 | endchoice | 928 | endchoice |
@@ -1123,24 +1133,6 @@ config PCI | |||
1123 | 1133 | ||
1124 | source "drivers/pci/Kconfig" | 1134 | source "drivers/pci/Kconfig" |
1125 | 1135 | ||
1126 | config HOTPLUG | ||
1127 | bool "Support for hot-pluggable device" | ||
1128 | help | ||
1129 | Say Y here if you want to plug devices into your computer while | ||
1130 | the system is running, and be able to use them quickly. In many | ||
1131 | cases, the devices can likewise be unplugged at any time too. | ||
1132 | |||
1133 | One well known example of this is PCMCIA- or PC-cards, credit-card | ||
1134 | size devices such as network cards, modems or hard drives which are | ||
1135 | plugged into slots found on all modern laptop computers. Another | ||
1136 | example, used on modern desktops as well as laptops, is USB. | ||
1137 | |||
1138 | Enable HOTPLUG and build a modular kernel. Get agent software | ||
1139 | (from <http://linux-hotplug.sourceforge.net/>) and install it. | ||
1140 | Then your kernel will automatically call out to a user mode "policy | ||
1141 | agent" (/sbin/hotplug) to load modules and set up software needed | ||
1142 | to use devices as you hotplug them. | ||
1143 | |||
1144 | source "drivers/pcmcia/Kconfig" | 1136 | source "drivers/pcmcia/Kconfig" |
1145 | 1137 | ||
1146 | source "drivers/pci/hotplug/Kconfig" | 1138 | source "drivers/pci/hotplug/Kconfig" |
@@ -1154,7 +1146,6 @@ source "fs/Kconfig.binfmt" | |||
1154 | endmenu | 1146 | endmenu |
1155 | 1147 | ||
1156 | menu "Power management options" | 1148 | menu "Power management options" |
1157 | depends on !SMP | ||
1158 | 1149 | ||
1159 | source "kernel/power/Kconfig" | 1150 | source "kernel/power/Kconfig" |
1160 | 1151 | ||
@@ -1247,7 +1238,6 @@ config PM_BFIN_WAKE_GP | |||
1247 | endmenu | 1238 | endmenu |
1248 | 1239 | ||
1249 | menu "CPU Frequency scaling" | 1240 | menu "CPU Frequency scaling" |
1250 | depends on !SMP | ||
1251 | 1241 | ||
1252 | source "drivers/cpufreq/Kconfig" | 1242 | source "drivers/cpufreq/Kconfig" |
1253 | 1243 | ||
@@ -1274,6 +1264,8 @@ source "net/Kconfig" | |||
1274 | 1264 | ||
1275 | source "drivers/Kconfig" | 1265 | source "drivers/Kconfig" |
1276 | 1266 | ||
1267 | source "drivers/firmware/Kconfig" | ||
1268 | |||
1277 | source "fs/Kconfig" | 1269 | source "fs/Kconfig" |
1278 | 1270 | ||
1279 | source "arch/blackfin/Kconfig.debug" | 1271 | source "arch/blackfin/Kconfig.debug" |