summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2009-06-30 09:48:03 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-16 21:28:59 -0400
commit9c954f89412b346e0aeec01c5729cb7ca63e2673 (patch)
treeaf349c49dacee35ce175b47721cc91e694bd71b4 /arch
parent204844ebd08cfb0c83689e55d6633dcd0230d36d (diff)
downloadlinux-9c954f89412b346e0aeec01c5729cb7ca63e2673.tar.gz
linux-9c954f89412b346e0aeec01c5729cb7ca63e2673.tar.bz2
linux-9c954f89412b346e0aeec01c5729cb7ca63e2673.zip
Blackfin: unify duplicated SMP checks in L2 cache kconfig
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index 7faa2f554ab1..8d04ed968fdb 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -987,7 +987,7 @@ endchoice
config BFIN_L2_DCACHEABLE
bool "Enable DCACHE for L2 SRAM"
depends on BFIN_DCACHE
- depends on BF54x || BF561
+ depends on (BF54x || BF561) && !SMP
default n
choice
prompt "L2 SRAM DCACHE policy"
@@ -995,11 +995,9 @@ choice
default BFIN_L2_WRITEBACK
config BFIN_L2_WRITEBACK
bool "Write back"
- depends on !SMP
config BFIN_L2_WRITETHROUGH
bool "Write through"
- depends on !SMP
endchoice