Title: [6765] trunk/arch/blackfin/Kconfig: re-order new cache options so that they are grouped correctly and kconfig displays a proper dependency tree, and add sane defaults for every option
- Revision
- 6765
- Author
- vapier
- Date
- 2009-06-17 07:24:45 -0500 (Wed, 17 Jun 2009)
Log Message
re-order new cache options so that they are grouped correctly and kconfig displays a proper dependency tree, and add sane defaults for every option
Modified Paths
Diff
Modified: trunk/arch/blackfin/Kconfig (6764 => 6765)
--- trunk/arch/blackfin/Kconfig 2009-06-17 12:18:01 UTC (rev 6764)
+++ trunk/arch/blackfin/Kconfig 2009-06-17 12:24:45 UTC (rev 6765)
@@ -907,24 +907,35 @@
comment "Cache Support"
+
config BFIN_ICACHE
bool "Enable ICACHE"
+ default y
config BFIN_ICACHE_LOCK
bool "Enable Instruction Cache Locking"
depends on BFIN_ICACHE
+ default n
+config BFIN_EXTMEM_ICACHEABLE
+ bool "Enable ICACHE for external memory"
+ depends on BFIN_ICACHE
+ default y
+config BFIN_L2_ICACHEABLE
+ bool "Enable ICACHE for L2 SRAM"
+ depends on BFIN_ICACHE
+ depends on BF54x || BF561
+ default n
+
config BFIN_DCACHE
bool "Enable DCACHE"
+ default y
config BFIN_DCACHE_BANKA
bool "Enable only 16k BankA DCACHE - BankB is SRAM"
depends on BFIN_DCACHE && !BF531
default n
-config BFIN_EXTMEM_ICACHEABLE
- bool "Enable ICACHE for external memory"
- depends on BFIN_ICACHE
config BFIN_EXTMEM_DCACHEABLE
bool "Enable DCACHE for external memory"
depends on BFIN_DCACHE
-
+ default y
choice
prompt "External memory DCACHE policy"
depends on BFIN_EXTMEM_DCACHEABLE
@@ -967,13 +978,11 @@
endchoice
-if BF54x || BF561
-config BFIN_L2_ICACHEABLE
- bool "Enable ICACHE for L2 SRAM"
- depends on BFIN_ICACHE
config BFIN_L2_DCACHEABLE
bool "Enable DCACHE for L2 SRAM"
depends on BFIN_DCACHE
+ depends on BF54x || BF561
+ default n
choice
prompt "L2 SRAM DCACHE policy"
depends on BFIN_L2_DCACHEABLE
@@ -987,7 +996,6 @@
depends on !SMP
endchoice
-endif
comment "Memory Protection Unit"
config MPU
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits