forked from Mirrors/opensbi
		
	platform: Drop irqchip warm init and exit hooks
Now that driver lifecycle is managed from within the SBI irqchip core, platforms need only to initialize the driver once during cold init. Remove the remaining platform hooks that are no longer used. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
		
				
					committed by
					
						
						Anup Patel
					
				
			
			
				
	
			
			
			
						parent
						
							2dd6eaf680
						
					
				
				
					commit
					678f5909a3
				
			@@ -136,17 +136,9 @@ static int k210_final_init(bool cold_boot)
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int k210_irqchip_init(bool cold_boot)
 | 
			
		||||
static int k210_irqchip_init(void)
 | 
			
		||||
{
 | 
			
		||||
	int rc;
 | 
			
		||||
 | 
			
		||||
	if (cold_boot) {
 | 
			
		||||
		rc = plic_cold_irqchip_init(&plic);
 | 
			
		||||
		if (rc)
 | 
			
		||||
			return rc;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
	return plic_cold_irqchip_init(&plic);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int k210_ipi_init(void)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user