summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-cns3xxx/include/mach/system.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2010-05-20 20:37:23 +0200
committerTony Lindgren <tony@atomide.com>2010-05-20 20:37:23 +0200
commitf6304f5804f228b6c2fea9e3dfac25c5b2db9b38 (patch)
tree362b9b6a3bd32b868e5917a32d448ac75c5854df /arch/arm/mach-cns3xxx/include/mach/system.h
parentMerge branch 'for_2.6.35' of git://git.pwsan.com/linux-2.6 into omap-for-linus (diff)
parentomap4: Add support for i2c init (diff)
downloadlinux-f6304f5804f228b6c2fea9e3dfac25c5b2db9b38.tar.xz
linux-f6304f5804f228b6c2fea9e3dfac25c5b2db9b38.zip
Merge branch 'omap4-i2c-init' into omap-for-linus
Diffstat (limited to 'arch/arm/mach-cns3xxx/include/mach/system.h')
-rw-r--r--arch/arm/mach-cns3xxx/include/mach/system.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-cns3xxx/include/mach/system.h b/arch/arm/mach-cns3xxx/include/mach/system.h
new file mode 100644
index 000000000000..58bb03ae3cf4
--- /dev/null
+++ b/arch/arm/mach-cns3xxx/include/mach/system.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2000 Deep Blue Solutions Ltd
+ * Copyright 2003 ARM Limited
+ * Copyright 2008 Cavium Networks
+ *
+ * This file is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License, Version 2, as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __MACH_SYSTEM_H
+#define __MACH_SYSTEM_H
+
+#include <linux/io.h>
+#include <asm/proc-fns.h>
+#include <mach/hardware.h>
+
+static inline void arch_idle(void)
+{
+ /*
+ * This should do all the clock switching
+ * and wait for interrupt tricks
+ */
+ cpu_do_idle();
+}
+
+void arch_reset(char mode, const char *cmd);
+
+#endif