forked from Mirrors/opensbi

We update timer drivers makefile to use kconfig for enabling/disabling drivers. To avoid compile errors, we also enable appropriate timer 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>
23 lines
312 B
Plaintext
23 lines
312 B
Plaintext
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
menu "Timer Device Support"
|
|
|
|
config FDT_TIMER
|
|
bool "FDT based timer drivers"
|
|
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
|