MLK-13913: ARM: imx: rpmsg: add reboot handler to support reboot
authorRobin Gong <yibin.gong@nxp.com>
Mon, 13 Feb 2017 06:58:55 +0000 (14:58 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:10:41 +0000 (15:10 -0500)
commitca20aa4a483ec5bea21e9107ab6b18dfd6a241d5
tree84ce7db7f70769b3fc889e47d7631140a2351d52
parent839520c5fb5df60e8321be59a266ff3204bb9c1d
MLK-13913: ARM: imx: rpmsg: add reboot handler to support reboot

Add reboot handler to send reboot message by rpmsg to M4 side, then
M4 will reboot A7 core. Meanwhile, remove shutdown interface at rpmsg
level, since M4 prefer to clear reboot and shutdown interface instead
of shutdown interface at rpmsg level.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
arch/arm/mach-imx/imx_rpmsg.c
arch/arm/mach-imx/pm-rpmsg.c