summaryrefslogtreecommitdiff
path: root/arch/arm/mach-h720x/include/mach/debug-macro.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-h720x/include/mach/debug-macro.S')
-rw-r--r--arch/arm/mach-h720x/include/mach/debug-macro.S8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-h720x/include/mach/debug-macro.S b/arch/arm/mach-h720x/include/mach/debug-macro.S
index 6294a1344dda..27cafd12f033 100644
--- a/arch/arm/mach-h720x/include/mach/debug-macro.S
+++ b/arch/arm/mach-h720x/include/mach/debug-macro.S
@@ -11,10 +11,12 @@
*
*/
- .equ io_virt, IO_BASE
- .equ io_phys, IO_START
+#include <mach/hardware.h>
- .macro addruart,rx
+ .equ io_virt, IO_VIRT
+ .equ io_phys, IO_PHYS
+
+ .macro addruart, rx, tmp
mrc p15, 0, \rx, c1, c0
tst \rx, #1 @ MMU enabled?
moveq \rx, #io_phys @ physical base address