Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Debugging macro include header |
| 3 | * |
| 4 | * Copyright (C) 2010 Broadcom |
| 5 | * Copyright (C) 1994-1999 Russell King |
| 6 | * Moved from linux/arch/arm/kernel/debug.S by Ben Dooks |
| 7 | * |
| 8 | * This program 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 | |
Stephen Warren | f1ac922 | 2013-03-11 22:40:18 -0600 | [diff] [blame] | 14 | #define BCM2835_DEBUG_PHYS 0x20201000 |
| 15 | #define BCM2835_DEBUG_VIRT 0xf0201000 |
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 16 | |
| 17 | .macro addruart, rp, rv, tmp |
| 18 | ldr \rp, =BCM2835_DEBUG_PHYS |
| 19 | ldr \rv, =BCM2835_DEBUG_VIRT |
| 20 | .endm |
| 21 | |
| 22 | #include <asm/hardware/debug-pl01x.S> |