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
289 B
Plaintext
24 lines
289 B
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "GPIO Support"
|
|
|
|
config FDT_GPIO
|
|
bool "FDT based GPIO drivers"
|
|
depends on FDT
|
|
select GPIO
|
|
default n
|
|
|
|
if FDT_GPIO
|
|
|
|
config FDT_GPIO_SIFIVE
|
|
bool "SiFive GPIO FDT driver"
|
|
default n
|
|
|
|
endif
|
|
|
|
config GPIO
|
|
bool "GPIO support"
|
|
default n
|
|
|
|
endmenu
|