Commit 1c97eab8 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2505/1: Remove FTVPCI from debug code

Patch from Ben Dooks

Remove the currently #if'ed out FTVPCI debug code
from arch/arm/kernel/debug.S as FTVPCI has no current
build candidate.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
parent 5a421fa6
...@@ -52,29 +52,6 @@ ...@@ -52,29 +52,6 @@
#include <asm/arch/debug-macro.S> #include <asm/arch/debug-macro.S>
#endif #endif
#if 0
// #elif defined(CONFIG_ARCH_FTVPCI)
.macro addruart,rx
mrc p15, 0, \rx, c1, c0
tst \rx, #1 @ MMU enabled?
movne \rx, #0xe0000000
moveq \rx, #0x10000000
.endm
.macro senduart,rd,rx
str \rd, [\rx, #0xc]
.endm
.macro busyuart,rd,rx
1001: ldr \rd, [\rx, #0x4]
tst \rd, #1 << 2
beq 1001b
.endm
.macro waituart,rd,rx
.endm
#endif
/* /*
* Useful debugging routines * Useful debugging routines
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment