forked from Mirrors/opensbi
		
	platform: generic: Use kconfig for enabling/disabling overrides
We update generic platform to use kconfig for enabling/disabling platform overrides. We also enable all platform overrides in generic platform defconfig. 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>
This commit is contained in:
		@@ -6,3 +6,21 @@ config PLATFORM_GENERIC
 | 
			
		||||
	select FDT_DOMAIN
 | 
			
		||||
	select FDT_PMU
 | 
			
		||||
	default y
 | 
			
		||||
 | 
			
		||||
if PLATFORM_GENERIC
 | 
			
		||||
 | 
			
		||||
config PLATFORM_ALLWINNER_D1
 | 
			
		||||
	bool "Allwinner D1 support"
 | 
			
		||||
	depends on FDT_IRQCHIP_PLIC
 | 
			
		||||
	default n
 | 
			
		||||
 | 
			
		||||
config PLATFORM_SIFIVE_FU540
 | 
			
		||||
	bool "SiFive FU540 support"
 | 
			
		||||
	default n
 | 
			
		||||
 | 
			
		||||
config PLATFORM_SIFIVE_FU740
 | 
			
		||||
	bool "SiFive FU740 support"
 | 
			
		||||
	depends on FDT_RESET && FDT_I2C
 | 
			
		||||
	default n
 | 
			
		||||
 | 
			
		||||
endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user