Skip to content

Commit

Permalink
Blackfin arch: dont clear status register bits in SWRST so we can act…
Browse files Browse the repository at this point in the history
…ually use it

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Mike Frysinger authored and Linus Torvalds committed May 21, 2007
1 parent eb8d5f6 commit 30870b9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions arch/blackfin/mach-bf533/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -468,12 +468,6 @@ ENTRY(_bfin_reset)
w[p0] = r0.l;
#endif

/* Clear the bits 13-15 in SWRST if they werent cleared */
p0.h = hi(SWRST);
p0.l = lo(SWRST);
csync;
r0.l = w[p0];

/* Clear the IMASK register */
p0.h = hi(IMASK);
p0.l = lo(IMASK);
Expand Down
6 changes: 0 additions & 6 deletions arch/blackfin/mach-bf537/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -504,12 +504,6 @@ _delay_lab1_end:
nop;
#endif

/* Clear the bits 13-15 in SWRST if they werent cleared */
p0.h = hi(SWRST);
p0.l = lo(SWRST);
csync;
r0.l = w[p0];

/* Clear the IMASK register */
p0.h = hi(IMASK);
p0.l = lo(IMASK);
Expand Down
6 changes: 0 additions & 6 deletions arch/blackfin/mach-bf561/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -414,12 +414,6 @@ ENTRY(_bfin_reset)
w[p0] = r0.l;
#endif

/* Clear the bits 13-15 in SWRST if they werent cleared */
p0.h = hi(SICA_SWRST);
p0.l = lo(SICA_SWRST);
csync;
r0.l = w[p0];

/* Clear the IMASK register */
p0.h = hi(IMASK);
p0.l = lo(IMASK);
Expand Down

0 comments on commit 30870b9

Please sign in to comment.