diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 81 |
1 files changed, 39 insertions, 42 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 53c1e1d45c68..c078849df7f9 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -23,12 +23,15 @@ config RWSEM_XCHGADD_ALGORITHM | |||
23 | 23 | ||
24 | config BLACKFIN | 24 | config BLACKFIN |
25 | def_bool y | 25 | def_bool y |
26 | select HAVE_ARCH_KGDB | ||
27 | select HAVE_ARCH_TRACEHOOK | ||
26 | select HAVE_FUNCTION_GRAPH_TRACER | 28 | select HAVE_FUNCTION_GRAPH_TRACER |
27 | select HAVE_FUNCTION_TRACER | 29 | select HAVE_FUNCTION_TRACER |
30 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | ||
28 | select HAVE_IDE | 31 | select HAVE_IDE |
29 | select HAVE_KERNEL_GZIP | 32 | select HAVE_KERNEL_GZIP if RAMKERNEL |
30 | select HAVE_KERNEL_BZIP2 | 33 | select HAVE_KERNEL_BZIP2 if RAMKERNEL |
31 | select HAVE_KERNEL_LZMA | 34 | select HAVE_KERNEL_LZMA if RAMKERNEL |
32 | select HAVE_OPROFILE | 35 | select HAVE_OPROFILE |
33 | select ARCH_WANT_OPTIONAL_GPIOLIB | 36 | select ARCH_WANT_OPTIONAL_GPIOLIB |
34 | 37 | ||
@@ -45,9 +48,6 @@ config ZONE_DMA | |||
45 | config GENERIC_FIND_NEXT_BIT | 48 | config GENERIC_FIND_NEXT_BIT |
46 | def_bool y | 49 | def_bool y |
47 | 50 | ||
48 | config GENERIC_HWEIGHT | ||
49 | def_bool y | ||
50 | |||
51 | config GENERIC_HARDIRQS | 51 | config GENERIC_HARDIRQS |
52 | def_bool y | 52 | def_bool y |
53 | 53 | ||
@@ -239,7 +239,7 @@ endchoice | |||
239 | 239 | ||
240 | config SMP | 240 | config SMP |
241 | depends on BF561 | 241 | depends on BF561 |
242 | select GENERIC_CLOCKEVENTS | 242 | select TICKSOURCE_CORETMR |
243 | bool "Symmetric multi-processing support" | 243 | bool "Symmetric multi-processing support" |
244 | ---help--- | 244 | ---help--- |
245 | This enables support for systems with more than one CPU, | 245 | This enables support for systems with more than one CPU, |
@@ -253,11 +253,20 @@ config NR_CPUS | |||
253 | depends on SMP | 253 | depends on SMP |
254 | default 2 if BF561 | 254 | default 2 if BF561 |
255 | 255 | ||
256 | config HOTPLUG_CPU | ||
257 | bool "Support for hot-pluggable CPUs" | ||
258 | depends on SMP && HOTPLUG | ||
259 | default y | ||
260 | |||
256 | config IRQ_PER_CPU | 261 | config IRQ_PER_CPU |
257 | bool | 262 | bool |
258 | depends on SMP | 263 | depends on SMP |
259 | default y | 264 | default y |
260 | 265 | ||
266 | config HAVE_LEGACY_PER_CPU_AREA | ||
267 | def_bool y | ||
268 | depends on SMP | ||
269 | |||
261 | config BF_REV_MIN | 270 | config BF_REV_MIN |
262 | int | 271 | int |
263 | default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) | 272 | default 0 if (BF51x || BF52x || (BF54x && !BF54xM)) |
@@ -349,7 +358,7 @@ config MEM_MT48LC8M32B2B5_7 | |||
349 | 358 | ||
350 | config MEM_MT48LC32M16A2TG_75 | 359 | config MEM_MT48LC32M16A2TG_75 |
351 | bool | 360 | bool |
352 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP) | 361 | depends on (BFIN527_EZKIT || BFIN527_EZKIT_V2 || BFIN532_IP0X || BLACKSTAMP) |
353 | default y | 362 | default y |
354 | 363 | ||
355 | config MEM_MT48LC32M8A2_75 | 364 | config MEM_MT48LC32M8A2_75 |
@@ -401,10 +410,18 @@ config BOOT_LOAD | |||
401 | config ROM_BASE | 410 | config ROM_BASE |
402 | hex "Kernel ROM Base" | 411 | hex "Kernel ROM Base" |
403 | depends on ROMKERNEL | 412 | depends on ROMKERNEL |
404 | default "0x20040000" | 413 | default "0x20040040" |
405 | range 0x20000000 0x20400000 if !(BF54x || BF561) | 414 | range 0x20000000 0x20400000 if !(BF54x || BF561) |
406 | range 0x20000000 0x30000000 if (BF54x || BF561) | 415 | range 0x20000000 0x30000000 if (BF54x || BF561) |
407 | 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. | ||
408 | 425 | ||
409 | comment "Clock/PLL Setup" | 426 | comment "Clock/PLL Setup" |
410 | 427 | ||
@@ -448,7 +465,7 @@ config VCO_MULT | |||
448 | range 1 64 | 465 | range 1 64 |
449 | default "22" if BFIN533_EZKIT | 466 | default "22" if BFIN533_EZKIT |
450 | default "45" if BFIN533_STAMP | 467 | default "45" if BFIN533_STAMP |
451 | 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) |
452 | default "22" if BFIN533_BLUETECHNIX_CM | 469 | default "22" if BFIN533_BLUETECHNIX_CM |
453 | 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) |
454 | default "20" if BFIN561_EZKIT | 471 | default "20" if BFIN561_EZKIT |
@@ -609,23 +626,23 @@ config GENERIC_CLOCKEVENTS | |||
609 | bool "Generic clock events" | 626 | bool "Generic clock events" |
610 | default y | 627 | default y |
611 | 628 | ||
612 | choice | 629 | menu "Clock event device" |
613 | prompt "Kernel Tick Source" | ||
614 | depends on GENERIC_CLOCKEVENTS | 630 | depends on GENERIC_CLOCKEVENTS |
615 | default TICKSOURCE_CORETMR | ||
616 | |||
617 | config TICKSOURCE_GPTMR0 | 631 | config TICKSOURCE_GPTMR0 |
618 | bool "Gptimer0 (SCLK domain)" | 632 | bool "GPTimer0" |
633 | depends on !SMP | ||
619 | select BFIN_GPTIMERS | 634 | select BFIN_GPTIMERS |
620 | 635 | ||
621 | config TICKSOURCE_CORETMR | 636 | config TICKSOURCE_CORETMR |
622 | bool "Core timer (CCLK domain)" | 637 | bool "Core timer" |
623 | 638 | default y | |
624 | endchoice | 639 | endmenu |
625 | 640 | ||
626 | config CYCLES_CLOCKSOURCE | 641 | menu "Clock souce" |
627 | bool "Use 'CYCLES' as a clocksource" | ||
628 | depends on GENERIC_CLOCKEVENTS | 642 | depends on GENERIC_CLOCKEVENTS |
643 | config CYCLES_CLOCKSOURCE | ||
644 | bool "CYCLES" | ||
645 | default y | ||
629 | depends on !BFIN_SCRATCH_REG_CYCLES | 646 | depends on !BFIN_SCRATCH_REG_CYCLES |
630 | depends on !SMP | 647 | depends on !SMP |
631 | help | 648 | help |
@@ -636,10 +653,10 @@ config CYCLES_CLOCKSOURCE | |||
636 | writing the registers will most likely crash the kernel. | 653 | writing the registers will most likely crash the kernel. |
637 | 654 | ||
638 | config GPTMR0_CLOCKSOURCE | 655 | config GPTMR0_CLOCKSOURCE |
639 | bool "Use GPTimer0 as a clocksource" | 656 | bool "GPTimer0" |
640 | select BFIN_GPTIMERS | 657 | select BFIN_GPTIMERS |
641 | depends on GENERIC_CLOCKEVENTS | ||
642 | depends on !TICKSOURCE_GPTMR0 | 658 | depends on !TICKSOURCE_GPTMR0 |
659 | endmenu | ||
643 | 660 | ||
644 | config ARCH_USES_GETTIMEOFFSET | 661 | config ARCH_USES_GETTIMEOFFSET |
645 | depends on !GENERIC_CLOCKEVENTS | 662 | depends on !GENERIC_CLOCKEVENTS |
@@ -1116,24 +1133,6 @@ config PCI | |||
1116 | 1133 | ||
1117 | source "drivers/pci/Kconfig" | 1134 | source "drivers/pci/Kconfig" |
1118 | 1135 | ||
1119 | config HOTPLUG | ||
1120 | bool "Support for hot-pluggable device" | ||
1121 | help | ||
1122 | Say Y here if you want to plug devices into your computer while | ||
1123 | the system is running, and be able to use them quickly. In many | ||
1124 | cases, the devices can likewise be unplugged at any time too. | ||
1125 | |||
1126 | One well known example of this is PCMCIA- or PC-cards, credit-card | ||
1127 | size devices such as network cards, modems or hard drives which are | ||
1128 | plugged into slots found on all modern laptop computers. Another | ||
1129 | example, used on modern desktops as well as laptops, is USB. | ||
1130 | |||
1131 | Enable HOTPLUG and build a modular kernel. Get agent software | ||
1132 | (from <http://linux-hotplug.sourceforge.net/>) and install it. | ||
1133 | Then your kernel will automatically call out to a user mode "policy | ||
1134 | agent" (/sbin/hotplug) to load modules and set up software needed | ||
1135 | to use devices as you hotplug them. | ||
1136 | |||
1137 | source "drivers/pcmcia/Kconfig" | 1136 | source "drivers/pcmcia/Kconfig" |
1138 | 1137 | ||
1139 | source "drivers/pci/hotplug/Kconfig" | 1138 | source "drivers/pci/hotplug/Kconfig" |
@@ -1147,7 +1146,6 @@ source "fs/Kconfig.binfmt" | |||
1147 | endmenu | 1146 | endmenu |
1148 | 1147 | ||
1149 | menu "Power management options" | 1148 | menu "Power management options" |
1150 | depends on !SMP | ||
1151 | 1149 | ||
1152 | source "kernel/power/Kconfig" | 1150 | source "kernel/power/Kconfig" |
1153 | 1151 | ||
@@ -1240,7 +1238,6 @@ config PM_BFIN_WAKE_GP | |||
1240 | endmenu | 1238 | endmenu |
1241 | 1239 | ||
1242 | menu "CPU Frequency scaling" | 1240 | menu "CPU Frequency scaling" |
1243 | depends on !SMP | ||
1244 | 1241 | ||
1245 | source "drivers/cpufreq/Kconfig" | 1242 | source "drivers/cpufreq/Kconfig" |
1246 | 1243 | ||