diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2012-07-18 11:42:19 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-18 12:51:55 -0400 |
commit | 86cc0ef8abd25fab2c7c6a6a57faf5cd8503a15b (patch) | |
tree | 3eb611f52f3a75aced6915c944e03a4cf4f40850 /arch/arm/mach-vt8500/include/mach/restart.h | |
parent | c26abeb7b5ee571ff47a094ede2c84356229628a (diff) |
ARM:vt8500: Convert to use .restart and remove arch_reset()
Removed system.h as it only contained an inline for arch_reset()
Changed the existing board files to use .restart in there machine
descriptions.
Added device tree support for the restart controller.
Device tree support for mach-vt8500 is still a work-in-progress.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-vt8500/include/mach/restart.h')
-rw-r--r-- | arch/arm/mach-vt8500/include/mach/restart.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-vt8500/include/mach/restart.h b/arch/arm/mach-vt8500/include/mach/restart.h new file mode 100644 index 000000000000..89f9b787d2a0 --- /dev/null +++ b/arch/arm/mach-vt8500/include/mach/restart.h | |||
@@ -0,0 +1,17 @@ | |||
1 | /* linux/arch/arm/mach-vt8500/restart.h | ||
2 | * | ||
3 | * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz> | ||
4 | * | ||
5 | * This software is licensed under the terms of the GNU General Public | ||
6 | * License version 2, as published by the Free Software Foundation, and | ||
7 | * may be copied, distributed, and modified under those terms. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | */ | ||
15 | |||
16 | void wmt_setup_restart(void); | ||
17 | void wmt_restart(char mode, const char *cmd); | ||