Skip to content

Commit 99329de

Browse files
committed
Merge branch 'pci/controller/tegra194'
- Ensure Tegra194 and Tegra234 inbound ATU entries are 64KB-aligned to match the hardware restriction (Jon Hunter) - Remove unused struct 'tegra_pcie_soc' (Dr. David Alan Gilbert) * pci/controller/tegra194: PCI: tegra: Remove unused struct 'tegra_pcie_soc' PCI: tegra194: Set EP alignment restriction for inbound ATU
2 parents 8240a9b + 6a61183 commit 99329de

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/pci/controller/dwc/pcie-tegra194.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,6 @@ static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg)
306306
return readl_relaxed(pcie->appl_base + reg);
307307
}
308308

309-
struct tegra_pcie_soc {
310-
enum dw_pcie_device_mode mode;
311-
};
312-
313309
static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie)
314310
{
315311
struct dw_pcie *pci = &pcie->pci;
@@ -2014,6 +2010,7 @@ static const struct pci_epc_features tegra_pcie_epc_features = {
20142010
.bar[BAR_3] = { .type = BAR_RESERVED, },
20152011
.bar[BAR_4] = { .type = BAR_RESERVED, },
20162012
.bar[BAR_5] = { .type = BAR_RESERVED, },
2013+
.align = SZ_64K,
20172014
};
20182015

20192016
static const struct pci_epc_features*

0 commit comments

Comments
 (0)