Files
opensbi/lib/utils/timer/Kconfig
Anup Patel 68d7b85ec7 lib: utils/fdt: Use kconfig for enabling/disabling
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>
2022-08-08 09:34:08 +05:30

24 lines
328 B
Plaintext

# SPDX-License-Identifier: BSD-2-Clause
menu "Timer Device Support"
config FDT_TIMER
bool "FDT based timer drivers"
depends on FDT
default n
if FDT_TIMER
config FDT_TIMER_MTIMER
bool "ACLINT MTIMER FDT driver"
select TIMER_MTIMER
default n
endif
config TIMER_MTIMER
bool "ACLINT MTIMER support"
default n
endmenu