diff options
author | Philby John <pjohn@in.mvista.com> | 2009-10-28 19:09:12 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-11-01 14:19:34 +0000 |
commit | 426fcd2a351e4bf662fee9fa2cf2603a48223164 (patch) | |
tree | 8abcf507bc2d7d4e285073add55729ceeddb5c44 /arch/arm/mach-realview/core.h | |
parent | df71dfd4ca01130f98d9dbfab76c440d72a177c6 (diff) | |
download | linux-stable-426fcd2a351e4bf662fee9fa2cf2603a48223164.tar.gz linux-stable-426fcd2a351e4bf662fee9fa2cf2603a48223164.tar.bz2 linux-stable-426fcd2a351e4bf662fee9fa2cf2603a48223164.zip |
ARM: 5774/1: Fix Realview ARM1176PB board reboot
This is the fix for proper reboot of Realview ARM1176PB board
when issuing the reboot command. Setting the eighth bit of
control register SYS_RESETCTL to 1 to force a soft reset.
arch_reset() is modified for realview machines to call machine
specific reset function pointers.
Signed-off-by: Philby John <pjohn@in.mvista.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/core.h')
-rw-r--r-- | arch/arm/mach-realview/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h index 46cd6acb4d40..699671fa6e0b 100644 --- a/arch/arm/mach-realview/core.h +++ b/arch/arm/mach-realview/core.h @@ -61,5 +61,5 @@ extern void realview_timer_init(unsigned int timer_irq); extern int realview_flash_register(struct resource *res, u32 num); extern int realview_eth_register(const char *name, struct resource *res); extern int realview_usb_register(struct resource *res); - +extern void (*realview_reset)(char); #endif |