Skip to content
Snippets Groups Projects
Commit e172dedd authored by Russell King's avatar Russell King
Browse files

ARM: footbridge: fix debug macros


More of the same of 5f2c1b30 (ARM: footbridge: fix debug macros),
this time for the DC21285-based debugging code rather than the 8250-
based debugging code.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8f4b8c76
No related merge requests found
......@@ -26,6 +26,7 @@
#include <asm/hardware/debug-8250.S>
#else
#include <mach/hardware.h>
/* For EBSA285 debugging */
.equ dc21285_high, ARMCSR_BASE & 0xff000000
.equ dc21285_low, ARMCSR_BASE & 0x00ffffff
......@@ -36,8 +37,8 @@
.else
mov \rp, #0
.endif
orr \rv, \rp, #0x42000000
orr \rp, \rp, #dc21285_high
orr \rv, \rp, #dc21285_high
orr \rp, \rp, #0x42000000
.endm
.macro senduart,rd,rx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment