ARM: restart: netx: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -187,3 +187,8 @@ static int __init netx_init(void)
|
||||
|
||||
subsys_initcall(netx_init);
|
||||
|
||||
void netx_restart(char mode, const char *cmd)
|
||||
{
|
||||
writel(NETX_SYSTEM_RES_CR_FIRMW_RES_EN | NETX_SYSTEM_RES_CR_FIRMW_RES,
|
||||
NETX_SYSTEM_RES_CR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user