aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/Kconfig
diff options
context:
space:
mode:
authorHyok S. Choi <hyok.choi@samsung.com>2006-09-26 04:38:32 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-27 12:39:19 -0400
commitf37f46eb1c0bd0b11c34ef06c7365658be989d80 (patch)
tree1790995456cafc852899927140e5dd7523463fdb /arch/arm/mm/Kconfig
parentd60674eb5d961b2421db16cc373dc163f38cc105 (diff)
[ARM] nommu: add ARM946E-S core support
This patch adds ARM946E-S core support which has typically 8KB I&D cache. It has a MPU and supports ARMv5TE instruction set. Because the ARM946E-S core can be synthesizable with various cache size, CONFIG_CPU_DCACHE_SIZE is defined for vendor specific configurations. Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/Kconfig')
-rw-r--r--arch/arm/mm/Kconfig34
1 files changed, 31 insertions, 3 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 34d00738293f..893d3fc8078f 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -200,6 +200,21 @@ config CPU_ARM940T
200 Say Y if you want support for the ARM940T processor. 200 Say Y if you want support for the ARM940T processor.
201 Otherwise, say N. 201 Otherwise, say N.
202 202
203# ARM946E-S
204config CPU_ARM946E
205 bool "Support ARM946E-S processor" if ARCH_INTEGRATOR
206 select CPU_32v5
207 select CPU_ABRT_EV5T
208 select CPU_CACHE_VIVT
209 select CPU_CP15_MPU
210 help
211 ARM946E-S is a member of the ARM9E-S family of high-
212 performance, 32-bit system-on-chip processor solutions.
213 The TCM and ARMv5TE 32-bit instruction set is supported.
214
215 Say Y if you want support for the ARM946E-S processor.
216 Otherwise, say N.
217
203# ARM1020 - needs validating 218# ARM1020 - needs validating
204config CPU_ARM1020 219config CPU_ARM1020
205 bool "Support ARM1020T (rev 0) processor" 220 bool "Support ARM1020T (rev 0) processor"
@@ -480,7 +495,7 @@ comment "Processor Features"
480 495
481config ARM_THUMB 496config ARM_THUMB
482 bool "Support Thumb user binaries" 497 bool "Support Thumb user binaries"
483 depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_V6 498 depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_V6
484 default y 499 default y
485 help 500 help
486 Say Y if you want to include kernel support for running user space 501 Say Y if you want to include kernel support for running user space
@@ -515,9 +530,22 @@ config CPU_DCACHE_DISABLE
515 Say Y here to disable the processor data cache. Unless 530 Say Y here to disable the processor data cache. Unless
516 you have a reason not to or are unsure, say N. 531 you have a reason not to or are unsure, say N.
517 532
533config CPU_DCACHE_SIZE
534 hex
535 depends on CPU_ARM740T || CPU_ARM946E
536 default 0x00001000 if CPU_ARM740T
537 default 0x00002000 # default size for ARM946E-S
538 help
539 Some cores are synthesizable to have various sized cache. For
540 ARM946E-S case, it can vary from 0KB to 1MB.
541 To support such cache operations, it is efficient to know the size
542 before compile time.
543 If your SoC is configured to have a different size, define the value
544 here with proper conditions.
545
518config CPU_DCACHE_WRITETHROUGH 546config CPU_DCACHE_WRITETHROUGH
519 bool "Force write through D-cache" 547 bool "Force write through D-cache"
520 depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM1020 || CPU_V6) && !CPU_DCACHE_DISABLE 548 depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_V6) && !CPU_DCACHE_DISABLE
521 default y if CPU_ARM925T 549 default y if CPU_ARM925T
522 help 550 help
523 Say Y here to use the data cache in writethrough mode. Unless you 551 Say Y here to use the data cache in writethrough mode. Unless you
@@ -525,7 +553,7 @@ config CPU_DCACHE_WRITETHROUGH
525 553
526config CPU_CACHE_ROUND_ROBIN 554config CPU_CACHE_ROUND_ROBIN
527 bool "Round robin I and D cache replacement algorithm" 555 bool "Round robin I and D cache replacement algorithm"
528 depends on (CPU_ARM926T || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE) 556 depends on (CPU_ARM926T || CPU_ARM946E || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
529 help 557 help
530 Say Y here to use the predictable round-robin cache replacement 558 Say Y here to use the predictable round-robin cache replacement
531 policy. Unless you specifically require this or are unsure, say N. 559 policy. Unless you specifically require this or are unsure, say N.