forked from Mirrors/opensbi
		
	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>
		
			
				
	
	
		
			26 lines
		
	
	
		
			450 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			450 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 | 
						|
menuconfig FDT
 | 
						|
	bool "Flattened Device Tree (FDT) support"
 | 
						|
	select LIBFDT
 | 
						|
	default n
 | 
						|
 | 
						|
if FDT
 | 
						|
 | 
						|
config FDT_DOMAIN
 | 
						|
	bool "FDT domain support"
 | 
						|
	default n
 | 
						|
 | 
						|
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
 |