diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index c04e7a4836f2..f1a7969b46ca 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -913,7 +913,7 @@ config BFIN_ICACHE_LOCK | |||
913 | bool "Enable Instruction Cache Locking" | 913 | bool "Enable Instruction Cache Locking" |
914 | 914 | ||
915 | choice | 915 | choice |
916 | prompt "Policy" | 916 | prompt "External memory cache policy" |
917 | depends on BFIN_DCACHE | 917 | depends on BFIN_DCACHE |
918 | default BFIN_WB if !SMP | 918 | default BFIN_WB if !SMP |
919 | default BFIN_WT if SMP | 919 | default BFIN_WT if SMP |
@@ -954,12 +954,22 @@ config BFIN_WT | |||
954 | 954 | ||
955 | endchoice | 955 | endchoice |
956 | 956 | ||
957 | config BFIN_L2_CACHEABLE | 957 | choice |
958 | bool "Cache L2 SRAM" | 958 | prompt "L2 SRAM cache policy" |
959 | depends on (BFIN_DCACHE || BFIN_ICACHE) && (BF54x || (BF561 && !SMP)) | 959 | depends on (BF54x || BF561) |
960 | default n | 960 | default BFIN_L2_WT |
961 | help | 961 | config BFIN_L2_WB |
962 | Select to make L2 SRAM cacheable in L1 data and instruction cache. | 962 | bool "Write back" |
963 | depends on !SMP | ||
964 | |||
965 | config BFIN_L2_WT | ||
966 | bool "Write through" | ||
967 | depends on !SMP | ||
968 | |||
969 | config BFIN_L2_NOT_CACHED | ||
970 | bool "Not cached" | ||
971 | |||
972 | endchoice | ||
963 | 973 | ||
964 | config MPU | 974 | config MPU |
965 | bool "Enable the memory protection unit (EXPERIMENTAL)" | 975 | bool "Enable the memory protection unit (EXPERIMENTAL)" |