From 9854a38e371a153c7c4adb2cb7951c27befe0362 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 5 Nov 2011 15:40:09 +0000 Subject: ARM: restart: mmp: use new restart hook Hook the Shark restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King --- arch/arm/mach-mmp/pxa168.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/arm/mach-mmp/pxa168.c') diff --git a/arch/arm/mach-mmp/pxa168.c b/arch/arm/mach-mmp/pxa168.c index 76ca15c00e45..13f23867a86a 100644 --- a/arch/arm/mach-mmp/pxa168.c +++ b/arch/arm/mach-mmp/pxa168.c @@ -214,3 +214,8 @@ int __init pxa168_add_usb_host(struct pxa168_usb_pdata *pdata) pxa168_device_usb_host.dev.platform_data = pdata; return platform_device_register(&pxa168_device_usb_host); } + +void pxa168_restart(char mode, const char *cmd) +{ + soft_restart(0xffff0000); +} -- cgit v1.2.3