From 3b1df43a396d114f73f934f4c88df73c779bf302 Mon Sep 17 00:00:00 2001 From: Michalis Pappas Date: Mon, 18 Sep 2023 15:23:10 +0200 Subject: [PATCH] drivers/ukbus/pci: Make PCI ECAM conditional to fdt The PCI ECAM implementation is tightly coupled to fdt. Given that the platform bus can now be used on x86_64, make PCI ECAM conditional to the fdt libraries. Signed-off-by: Michalis Pappas Reviewed-by: Marco Schlumpp Reviewed-by: Rares Miculescu Approved-by: Razvan Deaconescu GitHub-Closes: #1116 --- drivers/ukbus/pci/Config.uk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ukbus/pci/Config.uk b/drivers/ukbus/pci/Config.uk index 77b5f7674..d3b5e8021 100644 --- a/drivers/ukbus/pci/Config.uk +++ b/drivers/ukbus/pci/Config.uk @@ -10,5 +10,6 @@ config LIBUKBUS_PCI PCI bus driver for probing and operating PCI devices config LIBUKBUS_PCI_ECAM - default y if (LIBUKBUS_PCI && LIBUKBUS_PLATFORM) + select LIBUKBUS_PLATFORM + default y if (LIBUKBUS_PCI && LIBFDT && LIBUKOFW) bool -- 2.39.5