mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-10-24 04:32:05 +01:00
lib: utils/timer: Use fdt_driver for initialization
The timer driver subsystem does not need any extra data, so it can use `struct fdt_driver` directly. The generic fdt_timer_init() performs a best-effort initialization of all matching DT nodes. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
1 parent
a524f0a507
commit
a387a8dff0
5 files changed
+10
-45
No files matched your search
@@ -1,3 +1,3 @@
|
||||
HEADER: sbi_utils/timer/fdt_timer.h
|
||||
TYPE: struct fdt_timer
|
||||
TYPE: const struct fdt_driver
|
||||
NAME: fdt_timer_drivers
|
||||
Reference in new issue
Block a user