]>
Commit | Line | Data |
---|---|---|
585cf175 | 1 | /* |
a09e64fb | 2 | * arch/arm/mach-orion5x/include/mach/debug-macro.S |
585cf175 TP |
3 | * |
4 | * Debugging macro include header | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | */ | |
10 | ||
a09e64fb | 11 | #include <mach/orion5x.h> |
7f74c2c7 | 12 | |
0ea12930 JK |
13 | .macro addruart, rp, rv |
14 | ldr \rp, =ORION5X_REGS_PHYS_BASE | |
15 | ldr \rv, =ORION5X_REGS_VIRT_BASE | |
16 | orr \rp, \rp, #0x00012000 | |
17 | orr \rv, \rv, #0x00012000 | |
585cf175 TP |
18 | .endm |
19 | ||
20 | #define UART_SHIFT 2 | |
21 | #include <asm/hardware/debug-8250.S> |