diff --git a/core/arch/arm/plat-imx/conf.mk b/core/arch/arm/plat-imx/conf.mk index 20bc7d050ba..c9144d16bfc 100644 --- a/core/arch/arm/plat-imx/conf.mk +++ b/core/arch/arm/plat-imx/conf.mk @@ -80,6 +80,7 @@ endif ifeq ($(filter y, $(CFG_PSCI_ARM32)), y) CFG_HWSUPP_MEM_PERM_WXN = n +CFG_IMX_WDOG ?= y endif CFG_MMAP_REGIONS ?= 24 diff --git a/core/arch/arm/plat-imx/pm/psci.c b/core/arch/arm/plat-imx/pm/psci.c index a7de449e9c4..47e8b56b87e 100644 --- a/core/arch/arm/plat-imx/pm/psci.c +++ b/core/arch/arm/plat-imx/pm/psci.c @@ -28,6 +28,7 @@ */ #include #include +#include #include #include #include @@ -205,3 +206,8 @@ int psci_cpu_suspend(uint32_t power_state, return ret; } + +void psci_system_reset(void) +{ + imx_wdog_restart(); +}