[U-Boot] [PATCH] lib: time: Add microsecond timer

Simon Glass sjg at chromium.org
Wed Oct 16 01:30:35 UTC 2019


Hi Marek,

On Tue, 15 Oct 2019 at 14:43, Marek Vasut <marek.vasut at gmail.com> wrote:
>
> Add get_timer_us(), which is useful e.g. when we need higher
> precision timestamps.

Can we use timer_get_us()? It seems confusing to have two.

>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  include/time.h |  1 +
>  lib/time.c     | 14 ++++++++++++++
>  2 files changed, 15 insertions(+)

Regards,
Simon


More information about the U-Boot mailing list