forked from Mirrors/opensbi
		
	platform: andes: Drop andes_pmu_setup()
andes_pmu_setup() [1] was intended to populate event mapping from hardcoded arrays, however, this increases firmware size and we should just use PMU DT node [2] instead. Link: https://lists.infradead.org/pipermail/opensbi/2023-November/006032.html [1] Link: https://github.com/riscv-software-src/opensbi/blob/v1.4/docs/pmu_support.md#example-3 [2] Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
		
				
					committed by
					
						
						Anup Patel
					
				
			
			
				
	
			
			
			
						parent
						
							6bb6b61c27
						
					
				
				
					commit
					bc366780c2
				
			@@ -1,12 +0,0 @@
 | 
			
		||||
/*
 | 
			
		||||
 * SPDX-License-Identifier: BSD-2-Clause
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright (c) 2023 Andes Technology Corporation
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef _ANDES_HPM_H_
 | 
			
		||||
#define _ANDES_HPM_H_
 | 
			
		||||
 | 
			
		||||
static inline int andes_pmu_setup(void) { return 0; }
 | 
			
		||||
 | 
			
		||||
#endif /* _ANDES_HPM_H_ */
 | 
			
		||||
		Reference in New Issue
	
	Block a user