timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support
authorStefan Roese <sr@denx.de>
Thu, 15 Sep 2022 14:20:38 +0000 (16:20 +0200)
committerStefan Roese <sr@denx.de>
Tue, 20 Sep 2022 04:39:43 +0000 (06:39 +0200)
commita68f13a3b6b4995ba5d0ad929eb9b79dc2a0a8c3
tree6b1721b5ef842249108ecfa42f5d25d04c444b5c
parent89fd0cccf9cff1537567b63eaa7a33110bd43a2c
timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE
enabled, like pogo_v4.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Tony Dinh <mibodhi@gmail.com>
drivers/timer/orion-timer.c