imx: imx8qm: add system reset support

Add system reset support for i.MX8QM,
when Linux kernel issues "reboot" command,
TF-A will send command to inform system
controller to reset whole board according
to board design, tested on i.MX8QM MEK board.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
This commit is contained in:
Anson Huang 2018-07-12 14:27:36 +08:00
parent db81c59252
commit d31ffcf0f7
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ static const plat_psci_ops_t imx_plat_psci_ops = {
.pwr_domain_on_finish = imx_pwr_domain_on_finish,
.validate_ns_entrypoint = imx_validate_ns_entrypoint,
.system_off = imx_system_off,
.system_reset = imx_system_reset,
};
int plat_setup_psci_ops(uintptr_t sec_entrypoint,