X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fwdt.h;h=e9a7c5355a64e0fea55cdecfffb895d5a5615d6d;hb=d99894dd3a713ea6226ac39a7e332b55cf8aca49;hp=0b5f05851a33c0e7527d30958a86e2214a9469e4;hpb=0753bc2d30d7ca4a0ea4ef7f97083961c3a9d0e0;p=u-boot diff --git a/include/wdt.h b/include/wdt.h index 0b5f05851a..e9a7c5355a 100644 --- a/include/wdt.h +++ b/include/wdt.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2017 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _WDT_H_ @@ -21,12 +20,12 @@ * Start the timer * * @dev: WDT Device - * @timeout: Number of ticks before timer expires + * @timeout_ms: Number of ticks (milliseconds) before timer expires * @flags: Driver specific flags. This might be used to specify * which action needs to be executed when the timer expires * @return: 0 if OK, -ve on error */ -int wdt_start(struct udevice *dev, u64 timeout, ulong flags); +int wdt_start(struct udevice *dev, u64 timeout_ms, ulong flags); /* * Stop the timer, thus disabling the Watchdog. Use wdt_start to start it again. @@ -67,12 +66,12 @@ struct wdt_ops { * Start the timer * * @dev: WDT Device - * @timeout: Number of ticks before the timer expires + * @timeout_ms: Number of ticks (milliseconds) before the timer expires * @flags: Driver specific flags. This might be used to specify * which action needs to be executed when the timer expires * @return: 0 if OK, -ve on error */ - int (*start)(struct udevice *dev, u64 timeout, ulong flags); + int (*start)(struct udevice *dev, u64 timeout_ms, ulong flags); /* * Stop the timer *