lib: utils: Add simple FDT timer framework
authorAnup Patel <anup.patel@wdc.com>
Fri, 24 Apr 2020 11:20:40 +0000 (16:50 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 1 May 2020 04:27:55 +0000 (09:57 +0530)
commit8ff2b94ea16ccd361cb1821390fffde1e7ff7a5d
tree1b1301ee66cad162c8fd5b9d4a2de4536abcfe31
parent1ac794cb618fea55db81cc697f46442bf70469d8
lib: utils: Add simple FDT timer framework

We add simple timer framework which will select and use timer driver
based on details in FDT passed by previous booting stage.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi_utils/timer/fdt_timer.h [new file with mode: 0644]
lib/utils/timer/fdt_timer.c [new file with mode: 0644]
lib/utils/timer/fdt_timer_clint.c [new file with mode: 0644]
lib/utils/timer/objects.mk [new file with mode: 0644]