aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vt8500/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-vt8500/include/mach/restart.h (renamed from include/linux/platform_data/spear_thermal.h)17
-rw-r--r--arch/arm/mach-vt8500/include/mach/system.h13
2 files changed, 4 insertions, 26 deletions
diff --git a/include/linux/platform_data/spear_thermal.h b/arch/arm/mach-vt8500/include/mach/restart.h
index 724f2e1cbbcb..89f9b787d2a0 100644
--- a/include/linux/platform_data/spear_thermal.h
+++ b/arch/arm/mach-vt8500/include/mach/restart.h
@@ -1,8 +1,6 @@
-/*
- * SPEAr thermal driver platform data.
+/* linux/arch/arm/mach-vt8500/restart.h
*
- * Copyright (C) 2011-2012 ST Microelectronics
- * Author: Vincenzo Frascino <vincenzo.frascino@st.com>
+ * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
@@ -14,13 +12,6 @@
* GNU General Public License for more details.
*
*/
-#ifndef SPEAR_THERMAL_H
-#define SPEAR_THERMAL_H
-/* SPEAr Thermal Sensor Platform Data */
-struct spear_thermal_pdata {
- /* flags used to enable thermal sensor */
- unsigned int thermal_flags;
-};
-
-#endif /* SPEAR_THERMAL_H */
+void wmt_setup_restart(void);
+void wmt_restart(char mode, const char *cmd);
diff --git a/arch/arm/mach-vt8500/include/mach/system.h b/arch/arm/mach-vt8500/include/mach/system.h
deleted file mode 100644
index 58fa8010ee61..000000000000
--- a/arch/arm/mach-vt8500/include/mach/system.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * 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);
-}