Skip to content

Commit

Permalink
ARM: footbridge: fix debug macros
Browse files Browse the repository at this point in the history
More of the same of 5f2c1b3 (ARM: footbridge: fix debug macros),
this time for the DC21285-based debugging code rather than the 8250-
based debugging code.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Jun 10, 2011
1 parent 8f4b8c7 commit e172ded
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions arch/arm/mach-footbridge/include/mach/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e172ded

Please sign in to comment.