Skip to content

Commit b584ab1

Browse files
jbrun3tMani-Sadhasivam
authored andcommitted
PCI: rcar-gen4: set ep BAR4 fixed size
On rcar-gen4, the ep BAR4 has a fixed size of 256B. Document this constraint in the epc features of the platform. Fixes: e311b38 ("PCI: rcar-gen4: Add endpoint mode support") Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 0af2f6b commit b584ab1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/controller/dwc/pcie-rcar-gen4.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ static const struct pci_epc_features rcar_gen4_pcie_epc_features = {
403403
.msix_capable = false,
404404
.bar[BAR_1] = { .type = BAR_RESERVED, },
405405
.bar[BAR_3] = { .type = BAR_RESERVED, },
406+
.bar[BAR_4] = { .type = BAR_FIXED, .fixed_size = 256 },
406407
.bar[BAR_5] = { .type = BAR_RESERVED, },
407408
.align = SZ_1M,
408409
};

0 commit comments

Comments
 (0)