aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include/mach
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2010-12-18 08:39:27 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-12-20 04:37:52 -0500
commit65d7d94405dcc1845ad2680eeb6af43ced74fdc4 (patch)
treeef3c40cc34b842809840368f07aabc06652c65f1 /arch/arm/mach-mxs/include/mach
parentfb410aef0314ef183fe6da879d29536311971a20 (diff)
ARM: mxs: Add reset routines
- The mxs wdog is implemented in RTC block. - There is a generic software reset routine for most modules on mxs. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/include/mach')
-rw-r--r--arch/arm/mach-mxs/include/mach/system.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/system.h b/arch/arm/mach-mxs/include/mach/system.h
new file mode 100644
index 000000000000..0e428239b433
--- /dev/null
+++ b/arch/arm/mach-mxs/include/mach/system.h
@@ -0,0 +1,27 @@
1/*
2 * Copyright (C) 1999 ARM Limited
3 * Copyright (C) 2000 Deep Blue Solutions Ltd
4 * Copyright 2004-2008 Freescale Semiconductor, Inc. All Rights Reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17#ifndef __MACH_MXS_SYSTEM_H__
18#define __MACH_MXS_SYSTEM_H__
19
20static inline void arch_idle(void)
21{
22 cpu_do_idle();
23}
24
25void arch_reset(char mode, const char *cmd);
26
27#endif /* __MACH_MXS_SYSTEM_H__ */