forked from Mirrors/opensbi
lib: sbi: Simplify timer platform operations
Instead of having timer_value(), timer_event_start(), and timer_event_stop() callbacks in platform operations, it will be much simpler for timer driver to directly register these operations as device to the sbi_timer implementation. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
@@ -218,9 +218,6 @@ const struct sbi_platform_operations platform_ops = {
|
||||
.ipi_init = fdt_ipi_init,
|
||||
.ipi_exit = fdt_ipi_exit,
|
||||
.get_tlbr_flush_limit = generic_tlbr_flush_limit,
|
||||
.timer_value = fdt_timer_value,
|
||||
.timer_event_stop = fdt_timer_event_stop,
|
||||
.timer_event_start = fdt_timer_event_start,
|
||||
.timer_init = fdt_timer_init,
|
||||
.timer_exit = fdt_timer_exit,
|
||||
.system_reset_check = generic_system_reset_check,
|
||||
|
Reference in New Issue
Block a user