From 03d6bb51ba96a16a8ac9a2fcbaebec9f6c31d900 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Thu, 20 May 2021 15:32:46 +0530 Subject: 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 Reviewed-by: Bin Meng Reviewed-by: Xiang W --- lib/utils/timer/fdt_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/utils/timer/fdt_timer.c') 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 #include -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 = { -- cgit v1.3.1