[U-Boot] [PATCH v1 2/3] wdt: Timeout better to be in microseconds

Simon Glass sjg at chromium.org
Fri Jul 7 03:59:14 UTC 2017


Hi Andy,

On 5 July 2017 at 11:44, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> Timeout in some abstract ticks is not what we are applying to get
> deterministic behaviour.

A tick is always milliseconds in U-Boot, as I understand it.

>
> Convert name to show explicitly that we are using microseconds (for
> watchdog it's more than precise).

Do you want microseconds, or is milliseconds enough accuracy? I have a
hard time imagining a case where a microsecond watchdog timeout is
useful.

>
> No functional change intended.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
>  drivers/watchdog/wdt-uclass.c | 4 ++--
>  include/wdt.h                 | 8 ++++----
>  2 files changed, 6 insertions(+), 6 deletions(-)
>

Regards,
Simon


More information about the U-Boot mailing list