Alessandro Rubini | 28ad94e | 2009-07-02 19:06:47 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Debugging macro include header |
| 3 | * |
| 4 | * Copyright (C) 1994-1999 Russell King |
| 5 | * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
| 10 | * |
| 11 | */ |
| 12 | |
Jeremy Kerr | 0ea1293 | 2010-07-06 18:30:06 +0800 | [diff] [blame] | 13 | .macro addruart, rp, rv |
| 14 | mov \rp, #0x00100000 |
| 15 | add \rp, \rp, #0x000fb000 |
| 16 | add \rv, \rp, #0xf0000000 @ virtual base |
| 17 | add \rp, \rp, #0x10000000 @ physical base address |
Alessandro Rubini | 28ad94e | 2009-07-02 19:06:47 +0100 | [diff] [blame] | 18 | .endm |
| 19 | |
| 20 | #include <asm/hardware/debug-pl01x.S> |