diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-01-03 17:27:51 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2019-11-22 11:06:38 +0800 |
commit | c8c1085323219563401454be45a56b53c8a41d47 (patch) | |
tree | 25036667300347c7054843ca63e8a063216516c4 | |
parent | def250487be094af7ad5dfc52ac8370c5f1dbe83 (diff) |
Add NXP's SoCs partition reboot support.
For NXP's SoCs with system controller inside, partition reboot
is supported in SCFW, change the system reset API from board reset
to partition reboot, so each partition can reboot independently.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
-rw-r--r-- | plat/imx/common/imx8_psci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/imx/common/imx8_psci.c b/plat/imx/common/imx8_psci.c index 91d33705..396a8854 100644 --- a/plat/imx/common/imx8_psci.c +++ b/plat/imx/common/imx8_psci.c @@ -23,7 +23,7 @@ void __dead2 imx_system_off(void) void __dead2 imx_system_reset(void) { - sc_pm_reset(ipc_handle, SC_PM_RESET_TYPE_BOARD); + sc_pm_reboot(ipc_handle, SC_PM_RESET_TYPE_COLD); wfi(); ERROR("system reset failed.\n"); panic(); |