diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2009-06-30 05:48:03 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-16 21:28:59 -0400 |
commit | 9c954f89412b346e0aeec01c5729cb7ca63e2673 (patch) | |
tree | af349c49dacee35ce175b47721cc91e694bd71b4 /arch/blackfin/Kconfig | |
parent | 204844ebd08cfb0c83689e55d6633dcd0230d36d (diff) |
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/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 4 |
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 | |||
987 | config BFIN_L2_DCACHEABLE | 987 | config BFIN_L2_DCACHEABLE |
988 | bool "Enable DCACHE for L2 SRAM" | 988 | bool "Enable DCACHE for L2 SRAM" |
989 | depends on BFIN_DCACHE | 989 | depends on BFIN_DCACHE |
990 | depends on BF54x || BF561 | 990 | depends on (BF54x || BF561) && !SMP |
991 | default n | 991 | default n |
992 | choice | 992 | choice |
993 | prompt "L2 SRAM DCACHE policy" | 993 | prompt "L2 SRAM DCACHE policy" |
@@ -995,11 +995,9 @@ choice | |||
995 | default BFIN_L2_WRITEBACK | 995 | default BFIN_L2_WRITEBACK |
996 | config BFIN_L2_WRITEBACK | 996 | config BFIN_L2_WRITEBACK |
997 | bool "Write back" | 997 | bool "Write back" |
998 | depends on !SMP | ||
999 | 998 | ||
1000 | config BFIN_L2_WRITETHROUGH | 999 | config BFIN_L2_WRITETHROUGH |
1001 | bool "Write through" | 1000 | bool "Write through" |
1002 | depends on !SMP | ||
1003 | endchoice | 1001 | endchoice |
1004 | 1002 | ||
1005 | 1003 | ||