2 * Copyright 2013 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 .macro addruart, rp, rv, tmp
11 ldr \rp, =0x40028000 @ physical
12 ldr \rv, =0xfe028000 @ virtual
15 .macro senduart, rd, rx
16 strb \rd, [\rx, #0x7] @ Data Register
19 .macro busyuart, rd, rx
20 1001: ldrb \rd, [\rx, #0x4] @ Status Register 1
22 beq 1001b @ wait until transmit done