lib: utils/timer: Use kconfig for enabling/disabling drivers

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>
This commit is contained in:
Anup Patel 2022-08-08 09:33:37 +05:30 committed by Anup Patel
parent 3e76a607b5
commit 013dbb3a60
10 changed files with 45 additions and 5 deletions

View file

@ -10,4 +10,5 @@
config PLATFORM_TEMPLATE
bool
select SERIAL_UART8250
select TIMER_MTIMER
default y