diff options
author | Hyok S. Choi <hyok.choi@samsung.com> | 2006-09-26 04:36:37 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-27 12:34:30 -0400 |
commit | f12d0d7c7786af39435ef6ae9defe47fb58f6091 (patch) | |
tree | 03361f2b925754f2acf4f311df2122f844d3d4fe /arch/arm/mm/Kconfig | |
parent | fefdaa06ccdde394be865ed76509be82813e425b (diff) |
[ARM] nommu: manage the CP15 things
All the current CP15 access codes in ARM arch can be categorized and
conditioned by the defines as follows:
Related operation Safe condition
a. any CP15 access !CPU_CP15
b. alignment trap CPU_CP15_MMU
c. D-cache(C-bit) CPU_CP15
d. I-cache CPU_CP15 && !( CPU_ARM610 || CPU_ARM710 ||
CPU_ARM720 || CPU_ARM740 ||
CPU_XSCALE || CPU_XSC3 )
e. alternate vector CPU_CP15 && !CPU_ARM740
f. TTB CPU_CP15_MMU
g. Domain CPU_CP15_MMU
h. FSR/FAR CPU_CP15_MMU
For example, alternate vector is supported if and only if
"CPU_CP15 && !CPU_ARM740" is satisfied.
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/Kconfig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index c7fb835c148c..0ac11ea84508 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -445,15 +445,15 @@ config CPU_BIG_ENDIAN | |||
445 | of your chipset/board/processor. | 445 | of your chipset/board/processor. |
446 | 446 | ||
447 | config CPU_ICACHE_DISABLE | 447 | config CPU_ICACHE_DISABLE |
448 | bool "Disable I-Cache" | 448 | bool "Disable I-Cache (I-bit)" |
449 | depends on CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_V6 | 449 | depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3) |
450 | help | 450 | help |
451 | Say Y here to disable the processor instruction cache. Unless | 451 | Say Y here to disable the processor instruction cache. Unless |
452 | you have a reason not to or are unsure, say N. | 452 | you have a reason not to or are unsure, say N. |
453 | 453 | ||
454 | config CPU_DCACHE_DISABLE | 454 | config CPU_DCACHE_DISABLE |
455 | bool "Disable D-Cache" | 455 | bool "Disable D-Cache (C-bit)" |
456 | depends on CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_V6 | 456 | depends on CPU_CP15 |
457 | help | 457 | help |
458 | Say Y here to disable the processor data cache. Unless | 458 | Say Y here to disable the processor data cache. Unless |
459 | you have a reason not to or are unsure, say N. | 459 | you have a reason not to or are unsure, say N. |