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

We update serial drivers makefile to use kconfig for enabling/disabling
drivers. To avoid compile errors, we also enable appropriate serial
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:21 +05:30
committed by Anup Patel
parent de80e9337d
commit 26bbff5f76
11 changed files with 121 additions and 22 deletions

View File

@@ -2,4 +2,5 @@
config PLATFORM_NUCLEI_UX600
bool
select SERIAL_SIFIVE
default y