diff options
author | Ilya Yanok <yanok@emcraft.com> | 2009-03-02 18:49:23 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-27 09:51:14 -0400 |
commit | 74bef9a4fa978669b234c4454daa596c0494c09a (patch) | |
tree | 4c08bfcfb3e59889143491837991d7cf521fed72 /arch/arm/plat-mxc/include/mach/system.h | |
parent | 05fd8e73e1357feaea9c48938d937eae76b4aef4 (diff) |
mxc: add arch_reset() function
This patch adds arch_reset() function for all mxc platforms.
It also removes (unsused) arch/arm/mach-mx2/system.c file.
This patch has been tested on i.MX1/27/31/35
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/system.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/system.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/plat-mxc/include/mach/system.h b/arch/arm/plat-mxc/include/mach/system.h index cd03ebaa49bc..e56241af870e 100644 --- a/arch/arm/plat-mxc/include/mach/system.h +++ b/arch/arm/plat-mxc/include/mach/system.h | |||
@@ -26,9 +26,6 @@ static inline void arch_idle(void) | |||
26 | cpu_do_idle(); | 26 | cpu_do_idle(); |
27 | } | 27 | } |
28 | 28 | ||
29 | static inline void arch_reset(char mode, const char *cmd) | 29 | void arch_reset(char mode, const char *cmd); |
30 | { | ||
31 | cpu_reset(0); | ||
32 | } | ||
33 | 30 | ||
34 | #endif /* __ASM_ARCH_MXC_SYSTEM_H__ */ | 31 | #endif /* __ASM_ARCH_MXC_SYSTEM_H__ */ |