summaryrefslogtreecommitdiff
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-07-16 13:34:55 +0200
committerMichal Simek <michal.simek@xilinx.com>2018-07-19 10:49:56 +0200
commit6c253be7ce19bec6dba386fc55f4986de65281d0 (patch)
tree19b4277bfdf840f47a6768eb64a6928038b5d14c /drivers/watchdog
parent28a961aa0b5c5446ae20913e26fa0db765a32f96 (diff)
watchdog: cdns: Add comment for expire_now function
IP itself has no reg/no bit which can be used for this functionality. Add this note to the driver to make sure that none will be asking for that. Current method is to setup 1s timeout and hang() which is done via wdt_expire_now(). Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/cdns_wdt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c
index f7618f86da..71575cb300 100644
--- a/drivers/watchdog/cdns_wdt.c
+++ b/drivers/watchdog/cdns_wdt.c
@@ -251,6 +251,7 @@ static const struct wdt_ops cdns_wdt_ops = {
.start = cdns_wdt_start,
.reset = cdns_wdt_reset,
.stop = cdns_wdt_stop,
+ /* There is no bit/reg/support in IP for expire_now functionality */
};
static const struct udevice_id cdns_wdt_ids[] = {