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 <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -45,3 +45,8 @@ void __init mmp_map_io(void)
|
||||
/* this is early, initialize mmp_chip_id here */
|
||||
mmp_chip_id = __raw_readl(MMP_CHIPID);
|
||||
}
|
||||
|
||||
void mmp_restart(char mode, const char *cmd)
|
||||
{
|
||||
soft_restart(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user