summaryrefslogtreecommitdiff
path: root/arch/arm/mach-vt8500/include/mach/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-vt8500/include/mach/system.h')
-rw-r--r--arch/arm/mach-vt8500/include/mach/system.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-vt8500/include/mach/system.h b/arch/arm/mach-vt8500/include/mach/system.h
new file mode 100644
index 00000000..58fa8010
--- /dev/null
+++ b/arch/arm/mach-vt8500/include/mach/system.h
@@ -0,0 +1,13 @@
+/*
+ * arch/arm/mach-vt8500/include/mach/system.h
+ *
+ */
+#include <asm/io.h>
+
+/* PM Software Reset request register */
+#define VT8500_PMSR_VIRT 0xf8130060
+
+static inline void arch_reset(char mode, const char *cmd)
+{
+ writel(1, VT8500_PMSR_VIRT);
+}