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 authored and Anup Patel committed 2022-08-08 09:33:21 +05:30
1 parent de80e9337d
commit 26bbff5f76
11 files changed
+121 -22

No files matched your search

+6
View File
@@ -1 +1,7 @@
# SPDX-License-Identifier: BSD-2-Clause
menu "Utils and Drivers Support"
source "$(OPENSBI_SRC_DIR)/lib/utils/serial/Kconfig"
endmenu