forked from Mirrors/opensbi
		
	We update FDT support makefile to use kconfig for enabling/disabling. To avoid compilation errors, we also enable FDT for each platform. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Tested-by: Andrew Jones <ajones@ventanamicro.com> Acked-by: Atish Patra <atishp@rivosinc.com> Tested-by: Atish Patra <atishp@rivosinc.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			280 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			280 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 | 
						|
menu "I2C Support"
 | 
						|
 | 
						|
config FDT_I2C
 | 
						|
	bool "FDT based I2C drivers"
 | 
						|
	depends on FDT
 | 
						|
	select I2C
 | 
						|
	default n
 | 
						|
 | 
						|
if FDT_I2C
 | 
						|
 | 
						|
config FDT_I2C_SIFIVE
 | 
						|
	bool "SiFive I2C FDT driver"
 | 
						|
	default n
 | 
						|
 | 
						|
endif
 | 
						|
 | 
						|
config I2C
 | 
						|
	bool "I2C support"
 | 
						|
	default n
 | 
						|
 | 
						|
endmenu
 |