Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147790
b: refs/heads/master
c: 293ca0f
h: refs/heads/master
v: v3
  • Loading branch information
Greg Ungerer committed Jun 11, 2009
1 parent f12be50 commit ea12478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 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: 7f72b47cedd1efc301576ff1050ec0a26c57eb48
refs/heads/master: 293ca0f75415dd8373c716bf9755569daca7ba5d
13 changes: 2 additions & 11 deletions trunk/arch/m68k/include/asm/system_no.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
: /* No output */ \
: "o" (*(char *)MCF_MBAR) ); \
})
#elif defined(CONFIG_M528x) || defined(CONFIG_M527x)
#elif defined(CONFIG_M523x) || defined(CONFIG_M528x) || defined(CONFIG_M527x)
/*
* Most of the newer ColdFire family members have a proper RESET unit.
* Use the software reset control bit in the Reset Control Register (RCR).
Expand All @@ -275,16 +275,7 @@ static inline unsigned long __xchg(unsigned long x, volatile void * ptr, int siz
asm("move.w #0x2700, %sr"); \
reset = ((volatile unsigned char *)(MCF_IPSBAR + 0x110000)); \
while (1) \
*reset |= (0x01 << 7); \
})
#elif defined(CONFIG_M523x)
#define HARD_RESET_NOW() ({ \
asm(" \
movew #0x2700, %sr; \
movel #0x01000000, %sp; \
moveal #0x40110000, %a0; \
moveb #0x80, (%a0); \
"); \
*reset |= 0x80; \
})
#elif defined(CONFIG_M520x)
/*
Expand Down

0 comments on commit ea12478

Please sign in to comment.