Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48915
b: refs/heads/master
c: dd1d2f4
h: refs/heads/master
i:
  48913: f9ac1f9
  48911: a78b2ec
v: v3
  • Loading branch information
Jan Altenberg authored and Russell King committed Feb 16, 2007
1 parent 97a5d3d commit 1381f01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 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: f1e1398654eb97269590a5a76f0aedb607fe5d0f
refs/heads/master: dd1d2f4439af3bc80c047a13a8a2be60df1953cd
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91/at91sam9260.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ static struct at91_gpio_bank at91sam9260_gpio[] = {

static void at91sam9260_reset(void)
{
at91_sys_write(AT91_RSTC_CR, (0xA5 << 24) | AT91_RSTC_PROCRST | AT91_RSTC_PERRST);
at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST);
}


Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-at91/at91sam9261.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static struct at91_gpio_bank at91sam9261_gpio[] = {

static void at91sam9261_reset(void)
{
at91_sys_write(AT91_RSTC_CR, (0xA5 << 24) | AT91_RSTC_PROCRST | AT91_RSTC_PERRST);
at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST);
}


Expand Down
3 changes: 1 addition & 2 deletions trunk/include/asm-arm/arch-at91/at91_rstc.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define AT91_RSTC_PROCRST (1 << 0) /* Processor Reset */
#define AT91_RSTC_PERRST (1 << 2) /* Peripheral Reset */
#define AT91_RSTC_EXTRST (1 << 3) /* External Reset */
#define AT91_RSTC_KEY (0xff << 24) /* KEY Password */
#define AT91_RSTC_KEY (0xa5 << 24) /* KEY Password */

#define AT91_RSTC_SR (AT91_RSTC + 0x04) /* Reset Controller Status Register */
#define AT91_RSTC_URSTS (1 << 0) /* User Reset Status */
Expand All @@ -34,6 +34,5 @@
#define AT91_RSTC_URSTEN (1 << 0) /* User Reset Enable */
#define AT91_RSTC_URSTIEN (1 << 4) /* User Reset Interrupt Enable */
#define AT91_RSTC_ERSTL (0xf << 8) /* External Reset Length */
#define AT91_RSTC_KEY (0xff << 24) /* KEY Password */

#endif

0 comments on commit 1381f01

Please sign in to comment.