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:
Anup Patel
2022-08-08 09:34:14 +05:30
committed by Anup Patel
parent 68d7b85ec7
commit d514a8f0dc
4 changed files with 27 additions and 6 deletions

View File

@@ -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