forked from Mirrors/opensbi
		
	lib: utils: fdt_fixup: Allow preserving PMU properties
Add a Kconfig option to control PMU fixup, so the next stage software can dump the PMU node including event mapping information for debugging purposes. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
		
				
					committed by
					
						
						Anup Patel
					
				
			
			
				
	
			
			
			
						parent
						
							535c661d87
						
					
				
				
					commit
					0b3262efc6
				
			@@ -15,4 +15,11 @@ config FDT_PMU
 | 
			
		||||
	bool "FDT performance monitoring unit (PMU) support"
 | 
			
		||||
	default n
 | 
			
		||||
 | 
			
		||||
config FDT_FIXUPS_PRESERVE_PMU_NODE
 | 
			
		||||
	bool "Preserve PMU node in device-tree"
 | 
			
		||||
	depends on FDT_PMU
 | 
			
		||||
	default n
 | 
			
		||||
	help
 | 
			
		||||
	  Preserve PMU node properties for debugging purposes.
 | 
			
		||||
 | 
			
		||||
endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user