Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235
b: refs/heads/master
c: cc56449
h: refs/heads/master
i:
  233: 6762fc8
  231: fe6c946
v: v3
  • Loading branch information
Russell King committed Apr 17, 2005
1 parent 36d6117 commit f66c9ba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 684f970e2fd2dc0eb8292500903f54f1ebda0e75
refs/heads/master: cc56449f53ba45646c6f0a2edf77c4acb342caed
7 changes: 5 additions & 2 deletions trunk/include/asm-arm/arch-ebsa285/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@
.equ dc21285_low, ARMCSR_BASE & 0x00ffffff

.macro addruart,rx
mov \rx, #dc21285_high
mrc p15, 0, \rx, c1, c0
tst \rx, #1 @ MMU enabled?
moveq \rx, #0x42000000
movne \rx, #dc21285_high
.if dc21285_low
orr \rx, \rx, #dc21285_low
orrne \rx, \rx, #dc21285_low
.endif
.endm

Expand Down
5 changes: 4 additions & 1 deletion trunk/include/asm-arm/arch-rpc/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
*/

.macro addruart,rx
mov \rx, #0xe0000000
mrc p15, 0, \rx, c1, c0
tst \rx, #1 @ MMU enabled?
moveq \rx, #0x03000000
movne \rx, #0xe0000000
orr \rx, \rx, #0x00010000
orr \rx, \rx, #0x00000fe0
.endm
Expand Down

0 comments on commit f66c9ba

Please sign in to comment.