ARM: restart: prima2: use new restart hook

Hook these platforms restart code into the new restart hook rather
than using arch_reset().

Reviewed-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King
2011-11-05 10:23:27 +00:00
والد a1c1cee9ad
کامیت 125c4033f0
4فایلهای تغییر یافته به همراه9 افزوده شده و 8 حذف شده

مشاهده پرونده

@@ -68,3 +68,10 @@ int sirfsoc_reset_device(struct device *dev)
return 0;
}
#define SIRFSOC_SYS_RST_BIT BIT(31)
void sirfsoc_restart(char mode, const char *cmd)
{
writel(SIRFSOC_SYS_RST_BIT, sirfsoc_rstc_base);
}