diff options
Diffstat (limited to 'arch/arm/mach-clps711x/include/mach/debug-macro.S')
-rw-r--r-- | arch/arm/mach-clps711x/include/mach/debug-macro.S | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-clps711x/include/mach/debug-macro.S b/arch/arm/mach-clps711x/include/mach/debug-macro.S index 118b3d930573..cb3684f8dae0 100644 --- a/arch/arm/mach-clps711x/include/mach/debug-macro.S +++ b/arch/arm/mach-clps711x/include/mach/debug-macro.S | |||
@@ -28,17 +28,11 @@ | |||
28 | .endm | 28 | .endm |
29 | 29 | ||
30 | .macro waituart,rd,rx | 30 | .macro waituart,rd,rx |
31 | 1001: ldr \rd, [\rx, #0x0140] @ SYSFLGx | ||
32 | tst \rd, #1 << 11 @ UBUSYx | ||
33 | bne 1001b | ||
34 | .endm | 31 | .endm |
35 | 32 | ||
36 | .macro busyuart,rd,rx | 33 | .macro busyuart,rd,rx |
37 | tst \rx, #0x1000 @ UART2 does not have CTS here | ||
38 | bne 1002f | ||
39 | 1001: ldr \rd, [\rx, #0x0140] @ SYSFLGx | 34 | 1001: ldr \rd, [\rx, #0x0140] @ SYSFLGx |
40 | tst \rd, #1 << 8 @ CTS | 35 | tst \rd, #1 << 11 @ UBUSYx |
41 | bne 1001b | 36 | bne 1001b |
42 | 1002: | ||
43 | .endm | 37 | .endm |
44 | 38 | ||