virt-pci: add platform bus support
This driver registers PCI busses, but the underlying virtio protocol could just as easily be used to provide a platform bus instead. If the virtio device node in the devicetree indicates that it's compatible with simple-bus, register platform devices instead of handling it as a PCI bus. Only one platform bus is allowed and the logic MMIO region for the platform bus is placed at an arbitrarily-chosen address away from the PCI region. Signed-off-by:Vincent Whitchurch <vincent.whitchurch@axis.com> Signed-off-by:
Richard Weinberger <richard@nod.at>
Loading
Please register or sign in to comment