lib: utils/fdt: Use kconfig for enabling/disabling
authorAnup Patel <apatel@ventanamicro.com>
Mon, 8 Aug 2022 04:04:08 +0000 (09:34 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 8 Aug 2022 04:04:08 +0000 (09:34 +0530)
commit68d7b85ec75119787d7c672062de5d29156c44be
tree36d2d61805ffc90e20969ad46e6a5df2fd40d982
parent5616aa4f4a6d88b1099b90a7e4b1fcf996cf5dab
lib: utils/fdt: Use kconfig for enabling/disabling

We update FDT support makefile to use kconfig for enabling/disabling.
To avoid compilation errors, we also enable FDT 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>
21 files changed:
include/sbi_utils/fdt/fdt_domain.h
include/sbi_utils/fdt/fdt_pmu.h
lib/utils/Kconfig
lib/utils/fdt/Kconfig [new file with mode: 0644]
lib/utils/fdt/objects.mk
lib/utils/gpio/Kconfig
lib/utils/i2c/Kconfig
lib/utils/ipi/Kconfig
lib/utils/irqchip/Kconfig
lib/utils/libfdt/Kconfig [new file with mode: 0644]
lib/utils/libfdt/objects.mk
lib/utils/reset/Kconfig
lib/utils/serial/Kconfig
lib/utils/timer/Kconfig
platform/andes/ae350/Kconfig
platform/fpga/ariane/Kconfig
platform/fpga/openpiton/Kconfig
platform/generic/Kconfig
platform/kendryte/k210/Kconfig
platform/nuclei/ux600/Kconfig
platform/nuclei/ux600/platform.c