blob: 5e3bf5b68aecae6da23e23fdd4f204a3602e991d [file] [log] [blame]
Russell Kinga09e64f2008-08-05 16:14:15 +01001/*
2 * arch/arm/mach-orion5x/include/mach/debug-macro.S
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
11#include <mach/orion5x.h>
12
Jeremy Kerr0ea12932010-07-06 18:30:06 +080013 .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
Russell Kinga09e64f2008-08-05 16:14:15 +010018 .endm
19
20#define UART_SHIFT 2
21#include <asm/hardware/debug-8250.S>