Skip to content

Commit 318c296

Browse files
Xiaowei Baogregkh
authored andcommitted
PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver
[ Upstream commit fd5d165 ] 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>
1 parent 69e6ea6 commit 318c296

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/pci/controller/dwc/pci-layerscape-ep.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ static const struct pci_epc_features ls_pcie_epc_features = {
4444
.linkup_notifier = false,
4545
.msi_capable = true,
4646
.msix_capable = false,
47+
.bar_fixed_64bit = (1 << BAR_2) | (1 << BAR_4),
4748
};
4849

4950
static const struct pci_epc_features*

0 commit comments

Comments
 (0)