diff options
author | Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | 2009-03-25 07:10:01 -0400 |
---|---|---|
committer | Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | 2009-03-25 07:10:01 -0400 |
commit | 28853ac8fe5221de74a14f1182d7b2b383dfd85c (patch) | |
tree | dcfd9b20028e5a3a9504e26d2c9060f4746fc83a /arch/arm/mm/Kconfig | |
parent | bba7d0b9ba0f04d25145de8170a17a3a07bbfdde (diff) |
ARM: Add support for FA526 v2
Adds support for Faraday FA526 core. This core is used at least by:
Cortina Systems Gemini and Centroid family
Cavium Networks ECONA family
Grain Media GM8120
Pixelplus ImageARM
Prolific PL-1029
Faraday IP evaluation boards
v2:
- move TLB_BTB to separate patch
- update copyrights
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Diffstat (limited to 'arch/arm/mm/Kconfig')
-rw-r--r-- | arch/arm/mm/Kconfig | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index d490f3773c01..bc3331863d9d 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -186,6 +186,24 @@ config CPU_ARM926T | |||
186 | Say Y if you want support for the ARM926T processor. | 186 | Say Y if you want support for the ARM926T processor. |
187 | Otherwise, say N. | 187 | Otherwise, say N. |
188 | 188 | ||
189 | # FA526 | ||
190 | config CPU_FA526 | ||
191 | bool | ||
192 | select CPU_32v4 | ||
193 | select CPU_ABRT_EV4 | ||
194 | select CPU_PABRT_NOIFAR | ||
195 | select CPU_CACHE_VIVT | ||
196 | select CPU_CP15_MMU | ||
197 | select CPU_CACHE_FA | ||
198 | select CPU_COPY_FA if MMU | ||
199 | select CPU_TLB_FA if MMU | ||
200 | help | ||
201 | The FA526 is a version of the ARMv4 compatible processor with | ||
202 | Branch Target Buffer, Unified TLB and cache line size 16. | ||
203 | |||
204 | Say Y if you want support for the FA526 processor. | ||
205 | Otherwise, say N. | ||
206 | |||
189 | # ARM940T | 207 | # ARM940T |
190 | config CPU_ARM940T | 208 | config CPU_ARM940T |
191 | bool "Support ARM940T processor" if ARCH_INTEGRATOR | 209 | bool "Support ARM940T processor" if ARCH_INTEGRATOR |
@@ -484,6 +502,9 @@ config CPU_CACHE_VIVT | |||
484 | config CPU_CACHE_VIPT | 502 | config CPU_CACHE_VIPT |
485 | bool | 503 | bool |
486 | 504 | ||
505 | config CPU_CACHE_FA | ||
506 | bool | ||
507 | |||
487 | if MMU | 508 | if MMU |
488 | # The copy-page model | 509 | # The copy-page model |
489 | config CPU_COPY_V3 | 510 | config CPU_COPY_V3 |
@@ -498,6 +519,9 @@ config CPU_COPY_V4WB | |||
498 | config CPU_COPY_FEROCEON | 519 | config CPU_COPY_FEROCEON |
499 | bool | 520 | bool |
500 | 521 | ||
522 | config CPU_COPY_FA | ||
523 | bool | ||
524 | |||
501 | config CPU_COPY_V6 | 525 | config CPU_COPY_V6 |
502 | bool | 526 | bool |
503 | 527 | ||
@@ -528,6 +552,13 @@ config CPU_TLB_FEROCEON | |||
528 | help | 552 | help |
529 | Feroceon TLB (v4wbi with non-outer-cachable page table walks). | 553 | Feroceon TLB (v4wbi with non-outer-cachable page table walks). |
530 | 554 | ||
555 | config CPU_TLB_FA | ||
556 | bool | ||
557 | help | ||
558 | Faraday ARM FA526 architecture, unified TLB with writeback cache | ||
559 | and invalidate instruction cache entry. Branch target buffer is | ||
560 | also supported. | ||
561 | |||
531 | config CPU_TLB_V6 | 562 | config CPU_TLB_V6 |
532 | bool | 563 | bool |
533 | 564 | ||
@@ -638,7 +669,7 @@ config CPU_DCACHE_SIZE | |||
638 | 669 | ||
639 | config CPU_DCACHE_WRITETHROUGH | 670 | config CPU_DCACHE_WRITETHROUGH |
640 | bool "Force write through D-cache" | 671 | bool "Force write through D-cache" |
641 | depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020) && !CPU_DCACHE_DISABLE | 672 | depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_FA526) && !CPU_DCACHE_DISABLE |
642 | default y if CPU_ARM925T | 673 | default y if CPU_ARM925T |
643 | help | 674 | help |
644 | Say Y here to use the data cache in writethrough mode. Unless you | 675 | Say Y here to use the data cache in writethrough mode. Unless you |
@@ -653,7 +684,7 @@ config CPU_CACHE_ROUND_ROBIN | |||
653 | 684 | ||
654 | config CPU_BPREDICT_DISABLE | 685 | config CPU_BPREDICT_DISABLE |
655 | bool "Disable branch prediction" | 686 | bool "Disable branch prediction" |
656 | depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7 | 687 | depends on CPU_ARM1020 || CPU_V6 || CPU_XSC3 || CPU_V7 || CPU_FA526 |
657 | help | 688 | help |
658 | Say Y here to disable branch prediction. If unsure, say N. | 689 | Say Y here to disable branch prediction. If unsure, say N. |
659 | 690 | ||