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 <michalis@unikraft.io>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Reviewed-by: Rares Miculescu <miculescur@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1116
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