summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/include/mach/system.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-08-15 16:49:31 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 16:49:31 +0100
commit590a94d93475fa6cca257f161ae268ed3a2395b5 (patch)
treed08735ef1dc8260e73f6e95832bfa90d172a7a4a /arch/arm/plat-mxc/include/mach/system.h
parent6973ee7e602b08f624bbf7379b6f68054c71aebb (diff)
parentc35d3a418149f145ff0d90833db3e298e88de1ad (diff)
Merge branch 'for-rmk' of git://git.pengutronix.de/git/imx/linux-2.6 into devel-stable
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/system.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/system.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/system.h b/arch/arm/plat-mxc/include/mach/system.h
index e56241af870e..ef00199568de 100644
--- a/arch/arm/plat-mxc/include/mach/system.h
+++ b/arch/arm/plat-mxc/include/mach/system.h
@@ -21,8 +21,18 @@
#ifndef __ASM_ARCH_MXC_SYSTEM_H__
#define __ASM_ARCH_MXC_SYSTEM_H__
+#include <mach/hardware.h>
+#include <mach/common.h>
+
static inline void arch_idle(void)
{
+#ifdef CONFIG_ARCH_MXC91231
+ if (cpu_is_mxc91231()) {
+ /* Need this to set DSM low-power mode */
+ mxc91231_prepare_idle();
+ }
+#endif
+
cpu_do_idle();
}