Files
opensbi/lib/utils/reset/Kconfig
Anup Patel 3e76a607b5 lib: utils/sys: Use kconfig for enabling/disabling drivers
We update system drivers makefile to use kconfig for enabling/disabling
drivers. To avoid compile errors, we also enable appropriate system
drivers 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>
2022-08-08 09:33:31 +05:30

36 lines
574 B
Plaintext

# SPDX-License-Identifier: BSD-2-Clause
menu "System Reset Support"
config FDT_RESET
bool "FDT based reset drivers"
default n
if FDT_RESET
config FDT_RESET_GPIO
bool "GPIO FDT reset driver"
default n
config FDT_RESET_HTIF
bool "Host transfer interface (HTIF) FDT reset driver"
select SYS_HTIF
default n
config FDT_RESET_SIFIVE_TEST
bool "SiFive Test FDT reset driver"
select SYS_SIFIVE_TEST
default n
config FDT_RESET_SUNXI_WDT
bool "Sunxi WDT FDT reset driver"
default n
config FDT_RESET_THEAD
bool "T-HEAD FDT reset driver"
default n
endif
endmenu