opensbi/lib/utils
Anup Patel 7aa6c9aa96 lib: utils/timer: Simplify MTIMER synchronization
We simplify MTIMER synchronization as follows:

1) Detect MTIMER devices with unique (or non-shared) MTIME
   register at boot-time
2) Select first MTIMER device with no associated HART as our
   reference MTIMER device
3) Only synchronize MTIMER devices with unique (or non-shared)
   MTIME register using reference MTIMER device
4) Directly update the MTIME register at time of synchronization
   because MTIME is a read/write register.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
2021-08-14 09:07:42 +05:30
..
fdt lib: utils/fdt: Extend fdt_parse_aclint_node() function 2021-08-14 09:02:39 +05:30
gpio lib: utils: Extend fdt_get_node_addr_size() for multiple register sets 2021-08-14 09:02:36 +05:30
ipi lib: utils/fdt: Extend fdt_parse_aclint_node() function 2021-08-14 09:02:39 +05:30
irqchip lib: utils: Try other FDT drivers when we see SBI_ENODEV 2021-05-24 15:49:21 +05:30
libfdt lib: utils/libfdt: Upgrade to v1.6.1 release 2021-06-22 17:42:29 +05:30
libquad lib: utils: Drop dependency on libgcc by importing part of FreeBSD's libquad 2021-07-11 21:01:44 +05:30
reset lib: utils: Extend fdt_get_node_addr_size() for multiple register sets 2021-08-14 09:02:36 +05:30
serial lib: utils: consider ':' in stdout-path 2021-06-02 17:06:17 +05:30
sys platform: Replace CLINT library usage with ACLINT library 2021-06-24 09:39:55 +05:30
timer lib: utils/timer: Simplify MTIMER synchronization 2021-08-14 09:07:42 +05:30