]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-rpc/debug-macro.S
[ARM] Collect 8250-based debug implementations together
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-rpc / debug-macro.S
index 456d3d754c3d0711208c06a919b94d47becdfd81..c634c8d8f4a152b5d69f02095a35c3ecaf3b4eb3 100644 (file)
                orr     \rx, \rx, #0x00000fe0
                .endm
 
-               .macro  senduart,rd,rx
-               strb    \rd, [\rx]
-               .endm
-
-               .macro  busyuart,rd,rx
-1001:          ldrb    \rd, [\rx, #0x14]
-               and     \rd, \rd, #0x60
-               teq     \rd, #0x60
-               bne     1001b
-               .endm
-
-               .macro  waituart,rd,rx
-1001:          ldrb    \rd, [\rx, #0x18]
-               tst     \rd, #0x10
-               beq     1001b
-               .endm
+#define UART_SHIFT     2
+#define FLOW_CONTROL
+#include <asm/hardware/debug-8250.S>