]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-cl7500/debug-macro.S
[ARM] Collect 8250-based debug implementations together
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-cl7500 / debug-macro.S
index a5d489d7955a953a9a5c40e3d5b35257e28561f5..9a2b67d240985fad4d00540e688c1a588952af39 100644 (file)
                orr     \rx, \rx, #0x00000be0
                .endm
 
-               .macro  senduart,rd,rx
-               strb    \rd, [\rx]
-               .endm
-
-               .macro  busyuart,rd,rx
-               .endm
-
-               .macro  waituart,rd,rx
-1001:          ldrb    \rd, [\rx, #0x14]
-               tst     \rd, #0x20
-               beq     1001b
-               .endm
+#define UART_SHIFT     2
+#include <asm/hardware/debug-8250.S>