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>
This commit is contained in:
Sonic Zhang 2009-06-30 09:48:03 +00:00 committed by Mike Frysinger
parent 204844ebd0
commit 9c954f8941

View file

@ -987,7 +987,7 @@ endchoice
config BFIN_L2_DCACHEABLE config BFIN_L2_DCACHEABLE
bool "Enable DCACHE for L2 SRAM" bool "Enable DCACHE for L2 SRAM"
depends on BFIN_DCACHE depends on BFIN_DCACHE
depends on BF54x || BF561 depends on (BF54x || BF561) && !SMP
default n default n
choice choice
prompt "L2 SRAM DCACHE policy" prompt "L2 SRAM DCACHE policy"
@ -995,11 +995,9 @@ choice
default BFIN_L2_WRITEBACK default BFIN_L2_WRITEBACK
config BFIN_L2_WRITEBACK config BFIN_L2_WRITEBACK
bool "Write back" bool "Write back"
depends on !SMP
config BFIN_L2_WRITETHROUGH config BFIN_L2_WRITETHROUGH
bool "Write through" bool "Write through"
depends on !SMP
endchoice endchoice