PCI: dwc: all: Modify dbi accessors to take dbi_base as argument
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 13 Mar 2017 13:43:25 +0000 (19:13 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Apr 2017 13:40:12 +0000 (08:40 -0500)
commitb50b2db266d8a8c303e8d88590c6416dfe576c6c
tree799af5174ad991ae9681ed77b5af8bde3c594225
parent62c5549fc4eab7ce7dc328b5c325e7a98b5b16c0
PCI: dwc: all: Modify dbi accessors to take dbi_base as argument

dwc has 2 dbi address space labeled dbics and dbics2. The existing helper
to access dbi address space can access only dbics. However dbics2 has to
be accessed for programming the BAR registers in the case of EP mode. This
is in preparation for adding EP mode support to dwc driver.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Niklas Cassel <niklas.cassel@axis.com>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: Joao Pinto <Joao.Pinto@synopsys.com>
drivers/pci/dwc/pci-exynos.c
drivers/pci/dwc/pcie-designware.c
drivers/pci/dwc/pcie-designware.h