]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
watchdog: cdns: Add comment for expire_now function
authorMichal Simek <michal.simek@xilinx.com>
Mon, 16 Jul 2018 11:34:55 +0000 (13:34 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 Jul 2018 09:36:01 +0000 (11:36 +0200)
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>
drivers/watchdog/cdns_wdt.c

index 65010bb93fe6a2619bd0bce1a65d8bf747dd5d0f..b61bab4304efddbec3d6000962337963252f1288 100644 (file)
@@ -252,6 +252,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[] = {