*
*/
- .macro addruart,rx,tmp
- mrc p15, 0, \rx, c1, c0
- tst \rx, #1 @ MMU enabled?
- moveq \rx, #0x90000000 @ physical base address
- movne \rx, #0xF1000000 @ virtual base
- orr \rx, \rx, #0x00007000 @ UART0
+ .macro addruart, rp, rv, tmp
+ moveq \rp, #0x90000000 @ physical base address
+ movne \rv, #0xF1000000 @ virtual base
+ orr \rp, \rp, #0x00007000 @ UART0
+ orr \rv, \rv, #0x00007000 @ UART0
.endm
.macro senduart,rd,rx