aboutsummaryrefslogtreecommitdiffstats
path: root/plat/intel/soc/common/socfpga_psci.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat/intel/soc/common/socfpga_psci.c')
-rw-r--r--plat/intel/soc/common/socfpga_psci.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/plat/intel/soc/common/socfpga_psci.c b/plat/intel/soc/common/socfpga_psci.c
index d8a6c1980..4b57b8f31 100644
--- a/plat/intel/soc/common/socfpga_psci.c
+++ b/plat/intel/soc/common/socfpga_psci.c
@@ -130,9 +130,19 @@ static void __dead2 socfpga_system_off(void)
panic();
}
+extern uint64_t intel_rsu_update_address;
+
static void __dead2 socfpga_system_reset(void)
{
- mailbox_reset_cold();
+ uint32_t addr_buf[2];
+
+ memcpy(addr_buf, &intel_rsu_update_address,
+ sizeof(intel_rsu_update_address));
+
+ if (intel_rsu_update_address)
+ mailbox_rsu_update(addr_buf);
+ else
+ mailbox_reset_cold();
while (1)
wfi();