]> git.baikalelectronics.ru Git - uboot.git/commit
RFC: arm: pci: Add PCI cam support to PCI-E ecam driver
authorAlistair Delva <adelva@google.com>
Wed, 20 Oct 2021 21:31:34 +0000 (21:31 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 17 Nov 2021 22:09:47 +0000 (17:09 -0500)
commit211574cee826902b37466d09cfad2185ae1ddf5a
tree6892dfb44847ee967cb497d64d9a0c270109db77
parent89c14b8c75d598772c305bf8b4576af16ffaabb5
RFC: arm: pci: Add PCI cam support to PCI-E ecam driver

When booting U-Boot in crosvm, the virtual machine emulates a PCI cam
device, not the PCI-E 'ecam' device normally seen on e.g. QEMU. This
PCI device can be supported with only trivial changes to the ecam
driver.

Instead of adding a completely new driver which is identical besides the
initialization step, add support for the PCI version to the existing
driver.

Signed-off-by: Alistair Delva <adelva@google.com>
Cc: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Cc: Ram Muthiah <rammuthiah@google.com>
drivers/pci/pcie_ecam_generic.c