diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2012-07-19 03:42:19 +1200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-18 18:51:55 +0200 |
commit | 86cc0ef8abd25fab2c7c6a6a57faf5cd8503a15b (patch) | |
tree | 3eb611f52f3a75aced6915c944e03a4cf4f40850 /arch/arm/mach-vt8500/bv07.c | |
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/bv07.c')
-rw-r--r-- | arch/arm/mach-vt8500/bv07.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-vt8500/bv07.c b/arch/arm/mach-vt8500/bv07.c index a464c7584411..f9fbeb2d10e9 100644 --- a/arch/arm/mach-vt8500/bv07.c +++ b/arch/arm/mach-vt8500/bv07.c @@ -23,6 +23,7 @@ #include <asm/mach-types.h> #include <asm/mach/arch.h> +#include <mach/restart.h> #include "devices.h" @@ -62,6 +63,7 @@ void __init bv07_init(void) else printk(KERN_ERR "PMC Hibernation register could not be remapped, not enabling power off!\n"); + wmt_setup_restart(); vt8500_set_resources(); platform_add_devices(devices, ARRAY_SIZE(devices)); vt8500_gpio_init(); @@ -69,6 +71,7 @@ void __init bv07_init(void) MACHINE_START(BV07, "Benign BV07 Mini Netbook") .atag_offset = 0x100, + .restart = wmt_restart, .reserve = vt8500_reserve_mem, .map_io = vt8500_map_io, .init_irq = vt8500_init_irq, |