Merge branch 'omap4-i2c-init' into omap-for-linus
[pandora-kernel.git] / arch / arm / mach-cns3xxx / include / mach / debug-macro.S
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
13                 .macro  addruart,rx
14                 mrc     p15, 0, \rx, c1, c0
15                 tst     \rx, #1                 @ MMU enabled?
16                 moveq   \rx,      #0x10000000
17                 movne   \rx,      #0xf0000000   @ virtual base
18                 orr     \rx, \rx, #0x00009000
19                 .endm
20
21 #include <asm/hardware/debug-pl01x.S>