PCI: designware: Don't complain missing *config* reg space if va_cfg0 is set
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 21 Jul 2015 21:54:11 +0000 (17:54 -0400)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Jul 2015 15:01:30 +0000 (10:01 -0500)
commit0f41421256afdfcadf0ae2d8bf83ecb7ff3ac49e
tree8ac265a04f49633ee84f5eeb83c9bb1f12ba8d0a
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
PCI: designware: Don't complain missing *config* reg space if va_cfg0 is set

Currently on Keystone SoCs, we always complain:

  keystone-pcie 21021000.pcie: missing *config* reg space

Keystone uses an older version of DesignWare hardware that doesn't have
ATU support.  So va_cfg0_base and va_cfg1_base are already set up in
ks_dw_pcie_host_init() before calling dw_pcie_host_init(), and they point
to the remote config space address va (both same for Keystone).  Add a
check to avoid this boot noise on Keystone.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-designware.c