Blackfin: unify duplicated SMP checks in L2 cache kconfig
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 30 Jun 2009 09:48:03 +0000 (09:48 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:28:59 +0000 (21:28 -0400)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/Kconfig

index 7faa2f554ab19e51a96c39c15799c899c069bf08..8d04ed968fdb9ba0c197eb0a5176659fb593818c 100644 (file)
@@ -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