summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2019-01-14 21:55:05 +0800
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:35:56 +0800
commit2a3fe06f582c85be1669a9231da5a8c51d2a37fe (patch)
tree7244bf4d3451b3244668bdac489793e5ab42781a /drivers/watchdog
parentd5f9b4847297c8ab8e9c18f8013d6d05d27a26ab (diff)
MLK-20723: watchdog: imx8_wdt: enable partition reset for watchdog
Change to partiton reset instead of board reset since SCFW is ready now. Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/imx8_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/imx8_wdt.c b/drivers/watchdog/imx8_wdt.c
index 955f1295d591..8656ff523523 100644
--- a/drivers/watchdog/imx8_wdt.c
+++ b/drivers/watchdog/imx8_wdt.c
@@ -74,7 +74,7 @@ static int imx8_wdt_start(struct watchdog_device *wdog)
return res.a0;
/* TODO: change to SC_TIMER_WDOG_ACTION_PARTITION after SCFW support */
arm_smccc_smc(FSL_SIP_SRTC, FSL_SIP_SRTC_SET_WDOG_ACT,
- SC_TIMER_WDOG_ACTION_BOARD, 0, 0, 0, 0, 0, &res);
+ SC_TIMER_WDOG_ACTION_PARTITION, 0, 0, 0, 0, 0, &res);
return res.a0;
}