]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/arm/mach-cns3xxx/include/mach/debug-macro.S
arm: return both physical and virtual addresses from addruart
[net-next-2.6.git] / arch / arm / mach-cns3xxx / include / mach / debug-macro.S
CommitLineData
d94f944e
AV
1/*
2 * Debugging macro include header
3 *
4 * Copyright 1994-1999 Russell King
5 * Copyright 2008 Cavium Networks
6 * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
7 *
8 * This file is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License, Version 2, as
10 * published by the Free Software Foundation.
11 */
12
0ea12930
JK
13 .macro addruart,rp,rv
14 mov \rp, #0x00009000
15 orr \rv, \rp, #0xf0000000 @ virtual base
16 orr \rp, \rp, #0x10000000
d94f944e
AV
17 .endm
18
19#include <asm/hardware/debug-pl01x.S>