Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279952
b: refs/heads/master
c: da90826
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Jan 5, 2012
1 parent 4c8e044 commit a59b31f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 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: 6ca6ff972d5b045de1012a4046b4de5405dc4c7a
refs/heads/master: da908260f21225d6f19ab29cfa401e550000eeae
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-ebsa110/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ static int __init ebsa110_init(void)

arch_initcall(ebsa110_init);

static void ebsa110_restart(char mode, const char *cmd)
{
soft_restart(0x80000000);
}

MACHINE_START(EBSA110, "EBSA110")
/* Maintainer: Russell King */
.atag_offset = 0x400,
Expand All @@ -287,4 +292,5 @@ MACHINE_START(EBSA110, "EBSA110")
.map_io = ebsa110_map_io,
.init_irq = ebsa110_init_irq,
.timer = &ebsa110_timer,
.restart = ebsa110_restart,
MACHINE_END
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-ebsa110/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ static inline void arch_idle(void)
asm volatile ("mcr p15, 0, ip, c15, c1, 2" : : : "cc");
}

#define arch_reset(mode, cmd) soft_restart(0x80000000)
static inline void arch_reset(char mode, const char *cmd)
{
}

#endif

0 comments on commit a59b31f

Please sign in to comment.