summaryrefslogtreecommitdiff
path: root/lib/utils/timer/fdt_timer.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2021-05-20 15:32:46 +0530
committerAnup Patel <[email protected]>2021-06-24 09:39:53 +0530
commit03d6bb51ba96a16a8ac9a2fcbaebec9f6c31d900 (patch)
tree7c3bf68142845f2ec0567db92643f973b0e58c2c /lib/utils/timer/fdt_timer.c
parent56fc5f7618b70a83425a764cafd67ffcf3605b5d (diff)
lib: utils/timer: Add FDT based ACLINT MTIMER driver
We add a new FDT based ACLINT MTIMER driver which works for both CLINT device and standalone ACLINT MTIMER device. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Xiang W <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer.c')
-rw-r--r--lib/utils/timer/fdt_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/timer/fdt_timer.c b/lib/utils/timer/fdt_timer.c
index 1fad42c2..148c05ed 100644
--- a/lib/utils/timer/fdt_timer.c
+++ b/lib/utils/timer/fdt_timer.c
@@ -12,10 +12,10 @@
#include <sbi_utils/fdt/fdt_helper.h>
#include <sbi_utils/timer/fdt_timer.h>
-extern struct fdt_timer fdt_timer_clint;
+extern struct fdt_timer fdt_timer_mtimer;
static struct fdt_timer *timer_drivers[] = {
- &fdt_timer_clint
+ &fdt_timer_mtimer
};
static struct fdt_timer dummy = {