lib: utils/serial: Use kconfig for enabling/disabling drivers
authorAnup Patel <apatel@ventanamicro.com>
Mon, 8 Aug 2022 04:03:21 +0000 (09:33 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 8 Aug 2022 04:03:21 +0000 (09:33 +0530)
commit26bbff5f76e0ecd7a8e3f322961c481b73097a65
tree38c001e38b970758709c71af2cc002c788340de4
parentde80e9337d812c47087ef568be2b3af2e1bbaf04
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>
include/sbi_utils/serial/fdt_serial.h
lib/utils/Kconfig
lib/utils/serial/Kconfig [new file with mode: 0644]
lib/utils/serial/objects.mk
platform/andes/ae350/Kconfig
platform/fpga/ariane/Kconfig
platform/fpga/openpiton/Kconfig
platform/generic/configs/defconfig
platform/kendryte/k210/Kconfig
platform/nuclei/ux600/Kconfig
platform/template/Kconfig