]> err.no Git - linux-2.6/blobdiff - include/asm-arm/arch-ixp4xx/debug-macro.S
spi: spi_bfin: update handling of delay-after-deselect
[linux-2.6] / include / asm-arm / arch-ixp4xx / debug-macro.S
index 2e23651e217fc554a073a8ac77337dd795460f52..37bc8ef23e6759a5cfb1014cdc09e2bb0c463e4a 100644 (file)
                                                @ byte writes used - Big Endian.
                 .endm
 
-               .macro  senduart,rd,rx
-                strb    \rd, [\rx]
-                .endm
-
-                .macro  waituart,rd,rx
-1002:           ldrb    \rd, [\rx, #0x14]
-                and     \rd, \rd, #0x60                @ check THRE and TEMT bits
-                teq     \rd, #0x60
-                bne     1002b
-                .endm
-
-                .macro  busyuart,rd,rx
-                .endm
+#define UART_SHIFT     2
+#include <asm/hardware/debug-8250.S>