summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2019-02-22 18:43:35 +0800
committerRobin Gong <yibin.gong@nxp.com>2019-02-22 19:23:44 +0800
commit13445b41c617042b309fb4cc5159a6d6ab9182fe (patch)
tree3b2b5914e30c8d88970af0224c1d4d9d09c4dc14 /drivers/watchdog
parent18d2749cf7548308cdf4efbf88e9d591c1ffcb10 (diff)
MLK-20965: watchdog: imx8_wdt: remove watchdog action set
The default watchdog action is partition reset now, so no need kernel to take care. Besides, scfw full test case may set other watchdog action but kernel may set it back later to default partition reset which scfw wouldn't expect, so avoid touching watchdog action. Please modify scfw code in case changing watchdog action to board reset. Signed-off-by: Robin Gong <yibin.gong@nxp.com> Reviewed-by: Anson Huang <anson.huang@nxp.com> (cherry picked from commit d9189e251995cc91efcac62a8d1c59ff32cdb8dc)
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/imx8_wdt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/watchdog/imx8_wdt.c b/drivers/watchdog/imx8_wdt.c
index 8656ff523523..7a855012366a 100644
--- a/drivers/watchdog/imx8_wdt.c
+++ b/drivers/watchdog/imx8_wdt.c
@@ -72,10 +72,8 @@ static int imx8_wdt_start(struct watchdog_device *wdog)
&res);
if (res.a0)
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_PARTITION, 0, 0, 0, 0, 0, &res);
- return res.a0;
+
+ return 0;
}
static int imx8_wdt_stop(struct watchdog_device *wdog)