aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r--arch/blackfin/Kconfig33
1 files changed, 31 insertions, 2 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 004c06ce3198..3a468436258d 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -200,6 +200,32 @@ config BF561
200 200
201endchoice 201endchoice
202 202
203config SMP
204 depends on BF561
205 bool "Symmetric multi-processing support"
206 ---help---
207 This enables support for systems with more than one CPU,
208 like the dual core BF561. If you have a system with only one
209 CPU, say N. If you have a system with more than one CPU, say Y.
210
211 If you don't know what to do here, say N.
212
213config NR_CPUS
214 int
215 depends on SMP
216 default 2 if BF561
217
218config IRQ_PER_CPU
219 bool
220 depends on SMP
221 default y
222
223config TICK_SOURCE_SYSTMR0
224 bool
225 select BFIN_GPTIMERS
226 depends on SMP
227 default y
228
203config BF_REV_MIN 229config BF_REV_MIN
204 int 230 int
205 default 0 if (BF51x || BF52x || BF54x) 231 default 0 if (BF51x || BF52x || BF54x)
@@ -502,6 +528,7 @@ source kernel/Kconfig.hz
502 528
503config GENERIC_TIME 529config GENERIC_TIME
504 bool "Generic time" 530 bool "Generic time"
531 depends on !SMP
505 default y 532 default y
506 533
507config GENERIC_CLOCKEVENTS 534config GENERIC_CLOCKEVENTS
@@ -576,6 +603,7 @@ endmenu
576 603
577 604
578menu "Blackfin Kernel Optimizations" 605menu "Blackfin Kernel Optimizations"
606 depends on !SMP
579 607
580comment "Memory Optimizations" 608comment "Memory Optimizations"
581 609
@@ -738,7 +766,6 @@ config BFIN_INS_LOWOVERHEAD
738 766
739endmenu 767endmenu
740 768
741
742choice 769choice
743 prompt "Kernel executes from" 770 prompt "Kernel executes from"
744 help 771 help
@@ -804,9 +831,11 @@ config BFIN_ICACHE_LOCK
804choice 831choice
805 prompt "Policy" 832 prompt "Policy"
806 depends on BFIN_DCACHE 833 depends on BFIN_DCACHE
807 default BFIN_WB 834 default BFIN_WB if !SMP
835 default BFIN_WT if SMP
808config BFIN_WB 836config BFIN_WB
809 bool "Write back" 837 bool "Write back"
838 depends on !SMP
810 help 839 help
811 Write Back Policy: 840 Write Back Policy:
812 Cached data will be written back to SDRAM only when needed. 841 Cached data will be written back to SDRAM only when needed.