提交 e172dedd 编写于 作者: R Russell King

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: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 8f4b8c76
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <asm/hardware/debug-8250.S> #include <asm/hardware/debug-8250.S>
#else #else
#include <mach/hardware.h>
/* For EBSA285 debugging */ /* For EBSA285 debugging */
.equ dc21285_high, ARMCSR_BASE & 0xff000000 .equ dc21285_high, ARMCSR_BASE & 0xff000000
.equ dc21285_low, ARMCSR_BASE & 0x00ffffff .equ dc21285_low, ARMCSR_BASE & 0x00ffffff
...@@ -36,8 +37,8 @@ ...@@ -36,8 +37,8 @@
.else .else
mov \rp, #0 mov \rp, #0
.endif .endif
orr \rv, \rp, #0x42000000 orr \rv, \rp, #dc21285_high
orr \rp, \rp, #dc21285_high orr \rp, \rp, #0x42000000
.endm .endm
.macro senduart,rd,rx .macro senduart,rd,rx
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册