diff options
author | Jacky Bai <ping.bai@nxp.com> | 2020-09-18 10:18:19 +0800 |
---|---|---|
committer | Jacky Bai <ping.bai@nxp.com> | 2020-09-18 10:50:55 +0800 |
commit | 25ead41a194b87ff9d30e7c4a5c05875a33c432d (patch) | |
tree | 1bb04e323c70da9606906172df7992906fe13611 | |
parent | 1597f80de42f2669e579bed1eafed69ea1389660 (diff) |
MLK-24812 plat: imx8mp: Assign wdog1 to domain0 only
Normally, the wdog1 is used by A53 side, and it should
be stopped when A53 domain enter STOP mode. when system
out of PoR, this watchdog is owned by both M7 & A53 side,
then this watchdog can only enter STOP mode only when
both A53 & M7 enter STOP mode. it is not reasonable as
this watchdog is only used by A53 side, so assign wdog1
to domain0(a53 side) only.
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
-rw-r--r-- | plat/imx/imx8m/imx8mp/imx8mp_bl31_setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/imx/imx8m/imx8mp/imx8mp_bl31_setup.c b/plat/imx/imx8m/imx8mp/imx8mp_bl31_setup.c index d24b136c..2683371b 100644 --- a/plat/imx/imx8m/imx8mp/imx8mp_bl31_setup.c +++ b/plat/imx/imx8m/imx8mp/imx8mp_bl31_setup.c @@ -61,6 +61,7 @@ static const struct imx_rdc_cfg rdc[] = { /* peripherals domain permission */ RDC_PDAPn(RDC_PDAP_UART2, D0R | D0W), + RDC_PDAPn(RDC_PDAP_WDOG1, D0R | D0W), /* memory region */ |