Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279971
b: refs/heads/master
c: 8fb06b1
h: refs/heads/master
i:
  279969: e0fe51f
  279967: 4935e7a
v: v3
  • Loading branch information
Russell King committed Jan 5, 2012
1 parent 623d22e commit cd3d4be
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 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: 6f91c5a46cf8f083e9316ce238d1aadb629f41dc
refs/heads/master: 8fb06b124288bf11d9fc2406864ef419c0ebce85
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-netx/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,8 @@ static int __init netx_init(void)

subsys_initcall(netx_init);

void netx_restart(char mode, const char *cmd)
{
writel(NETX_SYSTEM_RES_CR_FIRMW_RES_EN | NETX_SYSTEM_RES_CR_FIRMW_RES,
NETX_SYSTEM_RES_CR);
}
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-netx/generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

extern void __init netx_map_io(void);
extern void __init netx_init_irq(void);
extern void netx_restart(char, const char *);

struct sys_timer;
extern struct sys_timer netx_timer;
6 changes: 0 additions & 6 deletions trunk/arch/arm/mach-netx/include/mach/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,13 @@
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H

#include <linux/io.h>
#include <mach/hardware.h>
#include "netx-regs.h"

static inline void arch_idle(void)
{
cpu_do_idle();
}

static inline void arch_reset(char mode, const char *cmd)
{
writel(NETX_SYSTEM_RES_CR_FIRMW_RES_EN | NETX_SYSTEM_RES_CR_FIRMW_RES,
NETX_SYSTEM_RES_CR);
}

#endif
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-netx/nxdb500.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,5 @@ MACHINE_START(NXDB500, "Hilscher nxdb500")
.init_irq = netx_init_irq,
.timer = &netx_timer,
.init_machine = nxdb500_init,
.restart = netx_restart,
MACHINE_END
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-netx/nxdkn.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@ MACHINE_START(NXDKN, "Hilscher nxdkn")
.init_irq = netx_init_irq,
.timer = &netx_timer,
.init_machine = nxdkn_init,
.restart = netx_restart,
MACHINE_END
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-netx/nxeb500hmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,5 @@ MACHINE_START(NXEB500HMI, "Hilscher nxeb500hmi")
.init_irq = netx_init_irq,
.timer = &netx_timer,
.init_machine = nxeb500hmi_init,
.restart = netx_restart,
MACHINE_END

0 comments on commit cd3d4be

Please sign in to comment.