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:
		@@ -37,12 +37,6 @@ int clint_warm_ipi_init(void);
 | 
			
		||||
 | 
			
		||||
int clint_cold_ipi_init(struct clint_data *clint);
 | 
			
		||||
 | 
			
		||||
u64 clint_timer_value(void);
 | 
			
		||||
 | 
			
		||||
void clint_timer_event_stop(void);
 | 
			
		||||
 | 
			
		||||
void clint_timer_event_start(u64 next_event);
 | 
			
		||||
 | 
			
		||||
int clint_warm_timer_init(void);
 | 
			
		||||
 | 
			
		||||
int clint_cold_timer_init(struct clint_data *clint,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user