Skip to content

Commit c523fa6

Browse files
Richard Zhubjorn-helgaas
authored andcommitted
PCI: imx6: Add IMX8MQ_EP third 64-bit BAR in epc_features
IMX8MQ_EP has three 64-bit BAR0/2/4 capable and programmable BARs. For IMX8MQ_EP, use imx8q_pcie_epc_features (64-bit BARs 0, 2, 4) instead of imx8m_pcie_epc_features (64-bit BARs 0, 2). Fixes: 75c2f26 ("PCI: imx6: Add i.MX PCIe EP mode support") Signed-off-by: Richard Zhu <[email protected]> [bhelgaas: add details in subject] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Frank Li <[email protected]> Cc: [email protected] Link: https://patch.msgid.link/[email protected]
1 parent 19272b3 commit c523fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/dwc/pci-imx6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,7 @@ static const struct imx_pcie_drvdata drvdata[] = {
19121912
.mode_mask[0] = IMX6Q_GPR12_DEVICE_TYPE,
19131913
.mode_off[1] = IOMUXC_GPR12,
19141914
.mode_mask[1] = IMX8MQ_GPR12_PCIE2_CTRL_DEVICE_TYPE,
1915-
.epc_features = &imx8m_pcie_epc_features,
1915+
.epc_features = &imx8q_pcie_epc_features,
19161916
.init_phy = imx8mq_pcie_init_phy,
19171917
.enable_ref_clk = imx8mm_pcie_enable_ref_clk,
19181918
},

0 commit comments

Comments
 (0)