lib: time: Add microsecond timer
authorMarek Vasut <marek.vasut@gmail.com>
Tue, 15 Oct 2019 20:43:41 +0000 (22:43 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 31 Oct 2019 11:22:53 +0000 (07:22 -0400)
commit80e7e7c2aba5793a1e39592cd53de9e5aca96f0b
tree1ce3f652b3e6a65c7ad2a76e8bec940261b202ec
parent52e1d93c14d0a56651367eb00f8d6b6fe80a2708
lib: time: Add microsecond timer

Add get_timer_us(), which is useful e.g. when we need higher
precision timestamps.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
[trini: Fixup arch/arm/mach-bcm283x/include/mach/timer.h]
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-bcm283x/include/mach/timer.h
include/time.h
lib/time.c