diff options
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r-- | arch/blackfin/Kconfig | 68 |
1 files changed, 47 insertions, 21 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 8ea0d942cdea..7faa2f554ab1 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -274,7 +274,7 @@ config BF_REV_0_0 | |||
274 | 274 | ||
275 | config BF_REV_0_1 | 275 | config BF_REV_0_1 |
276 | bool "0.1" | 276 | bool "0.1" |
277 | depends on (BF52x || (BF54x && !BF54xM)) | 277 | depends on (BF51x || BF52x || (BF54x && !BF54xM)) |
278 | 278 | ||
279 | config BF_REV_0_2 | 279 | config BF_REV_0_2 |
280 | bool "0.2" | 280 | bool "0.2" |
@@ -358,7 +358,7 @@ config MEM_MT48LC8M32B2B5_7 | |||
358 | 358 | ||
359 | config MEM_MT48LC32M16A2TG_75 | 359 | config MEM_MT48LC32M16A2TG_75 |
360 | bool | 360 | bool |
361 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP || BFIN526_EZBRD) | 361 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP) |
362 | default y | 362 | default y |
363 | 363 | ||
364 | config MEM_MT48LC32M8A2_75 | 364 | config MEM_MT48LC32M8A2_75 |
@@ -366,6 +366,11 @@ config MEM_MT48LC32M8A2_75 | |||
366 | depends on (BFIN518F_EZBRD) | 366 | depends on (BFIN518F_EZBRD) |
367 | default y | 367 | default y |
368 | 368 | ||
369 | config MEM_MT48H32M16LFCJ_75 | ||
370 | bool | ||
371 | depends on (BFIN526_EZBRD) | ||
372 | default y | ||
373 | |||
369 | source "arch/blackfin/mach-bf518/Kconfig" | 374 | source "arch/blackfin/mach-bf518/Kconfig" |
370 | source "arch/blackfin/mach-bf527/Kconfig" | 375 | source "arch/blackfin/mach-bf527/Kconfig" |
371 | source "arch/blackfin/mach-bf533/Kconfig" | 376 | source "arch/blackfin/mach-bf533/Kconfig" |
@@ -623,7 +628,6 @@ choice | |||
623 | config TICKSOURCE_GPTMR0 | 628 | config TICKSOURCE_GPTMR0 |
624 | bool "Gptimer0 (SCLK domain)" | 629 | bool "Gptimer0 (SCLK domain)" |
625 | select BFIN_GPTIMERS | 630 | select BFIN_GPTIMERS |
626 | depends on !IPIPE | ||
627 | 631 | ||
628 | config TICKSOURCE_CORETMR | 632 | config TICKSOURCE_CORETMR |
629 | bool "Core timer (CCLK domain)" | 633 | bool "Core timer (CCLK domain)" |
@@ -644,6 +648,7 @@ config CYCLES_CLOCKSOURCE | |||
644 | 648 | ||
645 | config GPTMR0_CLOCKSOURCE | 649 | config GPTMR0_CLOCKSOURCE |
646 | bool "Use GPTimer0 as a clocksource (higher rating)" | 650 | bool "Use GPTimer0 as a clocksource (higher rating)" |
651 | select BFIN_GPTIMERS | ||
647 | depends on GENERIC_CLOCKEVENTS | 652 | depends on GENERIC_CLOCKEVENTS |
648 | depends on !TICKSOURCE_GPTMR0 | 653 | depends on !TICKSOURCE_GPTMR0 |
649 | 654 | ||
@@ -908,23 +913,41 @@ endchoice | |||
908 | 913 | ||
909 | 914 | ||
910 | comment "Cache Support" | 915 | comment "Cache Support" |
916 | |||
911 | config BFIN_ICACHE | 917 | config BFIN_ICACHE |
912 | bool "Enable ICACHE" | 918 | bool "Enable ICACHE" |
919 | default y | ||
920 | config BFIN_ICACHE_LOCK | ||
921 | bool "Enable Instruction Cache Locking" | ||
922 | depends on BFIN_ICACHE | ||
923 | default n | ||
924 | config BFIN_EXTMEM_ICACHEABLE | ||
925 | bool "Enable ICACHE for external memory" | ||
926 | depends on BFIN_ICACHE | ||
927 | default y | ||
928 | config BFIN_L2_ICACHEABLE | ||
929 | bool "Enable ICACHE for L2 SRAM" | ||
930 | depends on BFIN_ICACHE | ||
931 | depends on BF54x || BF561 | ||
932 | default n | ||
933 | |||
913 | config BFIN_DCACHE | 934 | config BFIN_DCACHE |
914 | bool "Enable DCACHE" | 935 | bool "Enable DCACHE" |
936 | default y | ||
915 | config BFIN_DCACHE_BANKA | 937 | config BFIN_DCACHE_BANKA |
916 | bool "Enable only 16k BankA DCACHE - BankB is SRAM" | 938 | bool "Enable only 16k BankA DCACHE - BankB is SRAM" |
917 | depends on BFIN_DCACHE && !BF531 | 939 | depends on BFIN_DCACHE && !BF531 |
918 | default n | 940 | default n |
919 | config BFIN_ICACHE_LOCK | 941 | config BFIN_EXTMEM_DCACHEABLE |
920 | bool "Enable Instruction Cache Locking" | 942 | bool "Enable DCACHE for external memory" |
921 | |||
922 | choice | ||
923 | prompt "External memory cache policy" | ||
924 | depends on BFIN_DCACHE | 943 | depends on BFIN_DCACHE |
925 | default BFIN_WB if !SMP | 944 | default y |
926 | default BFIN_WT if SMP | 945 | choice |
927 | config BFIN_WB | 946 | prompt "External memory DCACHE policy" |
947 | depends on BFIN_EXTMEM_DCACHEABLE | ||
948 | default BFIN_EXTMEM_WRITEBACK if !SMP | ||
949 | default BFIN_EXTMEM_WRITETHROUGH if SMP | ||
950 | config BFIN_EXTMEM_WRITEBACK | ||
928 | bool "Write back" | 951 | bool "Write back" |
929 | depends on !SMP | 952 | depends on !SMP |
930 | help | 953 | help |
@@ -942,7 +965,7 @@ config BFIN_WB | |||
942 | If you are unsure of the options and you want to be safe, | 965 | If you are unsure of the options and you want to be safe, |
943 | then go with Write Through. | 966 | then go with Write Through. |
944 | 967 | ||
945 | config BFIN_WT | 968 | config BFIN_EXTMEM_WRITETHROUGH |
946 | bool "Write through" | 969 | bool "Write through" |
947 | help | 970 | help |
948 | Write Back Policy: | 971 | Write Back Policy: |
@@ -961,23 +984,26 @@ config BFIN_WT | |||
961 | 984 | ||
962 | endchoice | 985 | endchoice |
963 | 986 | ||
987 | config BFIN_L2_DCACHEABLE | ||
988 | bool "Enable DCACHE for L2 SRAM" | ||
989 | depends on BFIN_DCACHE | ||
990 | depends on BF54x || BF561 | ||
991 | default n | ||
964 | choice | 992 | choice |
965 | prompt "L2 SRAM cache policy" | 993 | prompt "L2 SRAM DCACHE policy" |
966 | depends on (BF54x || BF561) | 994 | depends on BFIN_L2_DCACHEABLE |
967 | default BFIN_L2_WT | 995 | default BFIN_L2_WRITEBACK |
968 | config BFIN_L2_WB | 996 | config BFIN_L2_WRITEBACK |
969 | bool "Write back" | 997 | bool "Write back" |
970 | depends on !SMP | 998 | depends on !SMP |
971 | 999 | ||
972 | config BFIN_L2_WT | 1000 | config BFIN_L2_WRITETHROUGH |
973 | bool "Write through" | 1001 | bool "Write through" |
974 | depends on !SMP | 1002 | depends on !SMP |
975 | |||
976 | config BFIN_L2_NOT_CACHED | ||
977 | bool "Not cached" | ||
978 | |||
979 | endchoice | 1003 | endchoice |
980 | 1004 | ||
1005 | |||
1006 | comment "Memory Protection Unit" | ||
981 | config MPU | 1007 | config MPU |
982 | bool "Enable the memory protection unit (EXPERIMENTAL)" | 1008 | bool "Enable the memory protection unit (EXPERIMENTAL)" |
983 | default n | 1009 | default n |