diff options
author | Robin Getz <robin.getz@analog.com> | 2007-12-21 04:46:33 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-12-21 04:46:33 -0500 |
commit | 0626d79686b4536eac1dc88e2cf52d927a5010c2 (patch) | |
tree | 3fadb0240ca7cdfc1d899c76ab16c4e506633198 /arch/blackfin/mach-common | |
parent | d8f66c8c1ea8e948483ee4739ad91120f5f7de51 (diff) |
[Blackfin] arch: do not use hard coded addresses
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r-- | arch/blackfin/mach-common/interrupt.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S index f983ac7ea352..7f752c87fe46 100644 --- a/arch/blackfin/mach-common/interrupt.S +++ b/arch/blackfin/mach-common/interrupt.S | |||
@@ -121,8 +121,8 @@ __common_int_entry: | |||
121 | 121 | ||
122 | #if ANOMALY_05000283 || ANOMALY_05000315 | 122 | #if ANOMALY_05000283 || ANOMALY_05000315 |
123 | cc = r7 == r7; | 123 | cc = r7 == r7; |
124 | p5.h = 0xffc0; | 124 | p5.h = HI(CHIPID); |
125 | p5.l = 0x0014; | 125 | p5.l = LO(CHIPID); |
126 | if cc jump 1f; | 126 | if cc jump 1f; |
127 | r7.l = W[p5]; | 127 | r7.l = W[p5]; |
128 | 1: | 128 | 1: |
@@ -145,8 +145,8 @@ ENTRY(_evt_ivhw) | |||
145 | 145 | ||
146 | #if ANOMALY_05000283 | 146 | #if ANOMALY_05000283 |
147 | cc = r7 == r7; | 147 | cc = r7 == r7; |
148 | p5.h = 0xffc0; | 148 | p5.h = HI(CHIPID); |
149 | p5.l = 0x0014; | 149 | p5.l = LO(CHIPID); |
150 | if cc jump 1f; | 150 | if cc jump 1f; |
151 | r7.l = W[p5]; | 151 | r7.l = W[p5]; |
152 | 1: | 152 | 1: |