diff options
Diffstat (limited to 'arch/arm/mach-ns9xxx')
-rw-r--r-- | arch/arm/mach-ns9xxx/include/mach/debug-macro.S | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-ns9xxx/include/mach/debug-macro.S b/arch/arm/mach-ns9xxx/include/mach/debug-macro.S index 5c934bdb7158..5a2acbdc3d67 100644 --- a/arch/arm/mach-ns9xxx/include/mach/debug-macro.S +++ b/arch/arm/mach-ns9xxx/include/mach/debug-macro.S | |||
@@ -12,11 +12,9 @@ | |||
12 | 12 | ||
13 | #include <mach/regs-board-a9m9750dev.h> | 13 | #include <mach/regs-board-a9m9750dev.h> |
14 | 14 | ||
15 | .macro addruart, rx, tmp | 15 | .macro addruart, rp, rv |
16 | mrc p15, 0, \rx, c1, c0 | 16 | ldr \rp, =NS9XXX_CSxSTAT_PHYS(0) |
17 | tst \rx, #1 | 17 | ldr \rv, =io_p2v(NS9XXX_CSxSTAT_PHYS(0)) |
18 | ldreq \rx, =NS9XXX_CSxSTAT_PHYS(0) | ||
19 | ldrne \rx, =io_p2v(NS9XXX_CSxSTAT_PHYS(0)) | ||
20 | .endm | 18 | .endm |
21 | 19 | ||
22 | #define UART_SHIFT 2 | 20 | #define UART_SHIFT 2 |