aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/proc-arm925.S
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-06-29 10:03:09 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-29 10:03:09 -0400
commit264edb35ce5c85749bfdd2942c74b786ea1cde41 (patch)
treea32533144367bbe5f1522da6e4b76f17d4e648b8 /arch/arm/mm/proc-arm925.S
parent0a6047eef1c465c38aacfbdab193161b3f0cd144 (diff)
[ARM] Remove yucky ifdefs to print "id(wb)BRR" suffix on CPU name
The "id(wb)BRR" suffix reports which CPU debugging options were (or were not) selected at kernel build time. Rather than have every proc-*.S file implement this, report the control register value, from which this information can be deduced. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-arm925.S')
-rw-r--r--arch/arm/mm/proc-arm925.S17
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/arm/mm/proc-arm925.S b/arch/arm/mm/proc-arm925.S
index 8d47c9f3f931..aaa9f985b246 100644
--- a/arch/arm/mm/proc-arm925.S
+++ b/arch/arm/mm/proc-arm925.S
@@ -511,22 +511,7 @@ cpu_elf_name:
511 511
512 .type cpu_arm925_name, #object 512 .type cpu_arm925_name, #object
513cpu_arm925_name: 513cpu_arm925_name:
514 .ascii "ARM925T" 514 .asciz "ARM925T"
515#ifndef CONFIG_CPU_ICACHE_DISABLE
516 .ascii "i"
517#endif
518#ifndef CONFIG_CPU_DCACHE_DISABLE
519 .ascii "d"
520#ifdef CONFIG_CPU_DCACHE_WRITETHROUGH
521 .ascii "(wt)"
522#else
523 .ascii "(wb)"
524#endif
525#ifdef CONFIG_CPU_CACHE_ROUND_ROBIN
526 .ascii "RR"
527#endif
528#endif
529 .ascii "\0"
530 .size cpu_arm925_name, . - cpu_arm925_name 515 .size cpu_arm925_name, . - cpu_arm925_name
531 516
532 .align 517 .align