lib: utils/timer: Allow separate base addresses for MTIME and MTIMECMP
authorAnup Patel <anup.patel@wdc.com>
Fri, 23 Jul 2021 08:39:43 +0000 (14:09 +0530)
committerAnup Patel <anup@brainfault.org>
Sat, 14 Aug 2021 03:32:33 +0000 (09:02 +0530)
commite0d1b9db8abd8288afbaa4f93a4ace6a9b6f0100
treea404340f4c146ae45de2ed5d50a4427de8e78672
parent47a47654e8d3997b059d11bb8845ed0037e88c8e
lib: utils/timer: Allow separate base addresses for MTIME and MTIMECMP

We extend the ACLINT library to support separate base addresses
for MTIME and MTIMECMP registers.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi_utils/timer/aclint_mtimer.h
lib/utils/timer/aclint_mtimer.c
lib/utils/timer/fdt_timer_mtimer.c
platform/fpga/ariane/platform.c
platform/fpga/openpiton/platform.c
platform/kendryte/k210/platform.c
platform/nuclei/ux600/platform.c
platform/template/platform.c