summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-05-19 20:32:59 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-08-18 13:52:54 +0200
commit9f183affc0221dac69fa2599ac91b9abad2c4465 (patch)
treeca19609dca53d0df0c7ee0e5dbafd2ef365d9c03
parentbbfc87c96dec60dda19438b7d6ecd2a5f4431380 (diff)
Revert "Add NXP's SoCs partition reboot support."
This reverts commit 13a5c7ece5a13c636e52f22b45f592b72b6453d1. With commit 13a5c7ece5a1 the SCFW will execute a reboot of the AP partition as a reaction to a psci_system_reboot, e.g. because of a Linux reboot. This does only reset the SoC partly, i.e. only IP which will not affect other partitions. As a result on Apalis iMX8 USB HSIC comes up in a state were it does not recognize our USB3503 hub correctly. Refer to the SCFW doc file sc_fw_port.pdf for more info on the various sc_reboot*, sc_reset* functionalities. Upstream-Status: Inappropriate [configuration] Related-to: ELB-2702 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--plat/imx/common/imx8_psci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/imx/common/imx8_psci.c b/plat/imx/common/imx8_psci.c
index 5b53e62f..d4f6723e 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_reboot(ipc_handle, SC_PM_RESET_TYPE_COLD);
+ sc_pm_reset(ipc_handle, SC_PM_RESET_TYPE_BOARD);
wfi();
ERROR("system reset failed.\n");
panic();