PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver
authorXiaowei Bao <xiaowei.bao@nxp.com>
Wed, 14 Aug 2019 02:03:29 +0000 (10:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Oct 2019 16:59:28 +0000 (18:59 +0200)
commit677540cb39e0ef8a845c5662458f6440b0e7050d
tree7c0e044c82581c485b35fd3dca4b540cc56fa956
parent97c3d2a3dd8ff8467b7b3ecb251ad3e663c02446
PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver

[ Upstream commit fd5d16531a39322c3d7433d9f8a36203c9aaeddc ]

The layerscape PCIe controller have 4 BARs.

 BAR0 and BAR1 are 32bit, BAR2 and BAR4 are 64bit and that's a
fixed hardware configuration.

Set the bar_fixed_64bit variable accordingly.

Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/dwc/pci-layerscape-ep.c