[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>
This commit is contained in:
Robin Getz 2007-12-21 17:46:33 +08:00 committed by Bryan Wu
parent d8f66c8c1e
commit 0626d79686
1 changed files with 4 additions and 4 deletions

View File

@ -121,8 +121,8 @@ __common_int_entry:
#if ANOMALY_05000283 || ANOMALY_05000315 #if ANOMALY_05000283 || ANOMALY_05000315
cc = r7 == r7; cc = r7 == r7;
p5.h = 0xffc0; p5.h = HI(CHIPID);
p5.l = 0x0014; p5.l = LO(CHIPID);
if cc jump 1f; if cc jump 1f;
r7.l = W[p5]; r7.l = W[p5];
1: 1:
@ -145,8 +145,8 @@ ENTRY(_evt_ivhw)
#if ANOMALY_05000283 #if ANOMALY_05000283
cc = r7 == r7; cc = r7 == r7;
p5.h = 0xffc0; p5.h = HI(CHIPID);
p5.l = 0x0014; p5.l = LO(CHIPID);
if cc jump 1f; if cc jump 1f;
r7.l = W[p5]; r7.l = W[p5];
1: 1: