summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhu <Richard.Zhu@freescale.com>2015-11-02 11:41:02 +0800
committerRichard Zhu <Richard.Zhu@freescale.com>2015-11-04 08:44:26 +0800
commit0ba3173352a47c3136744840e49f36fb281da471 (patch)
treec1eab3b3f0e0790047f9ef9f9413c3bfc4b95f09
parentfa16d3d2a652d9901b7d9e81c25ab393a3a80da7 (diff)
MLK-11803 pci: imx: imx6qp pcie ep self-test failed
imx pcie used the wrab mode to do the cached access methods on axi bus. There is 64bytes address mis-aligned problem. Disable the cached operations. Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com> (cherry picked from commit 85db70336ab66136481926bcd7f5abe599e2aa4f)
-rw-r--r--drivers/pci/host/pci-imx6.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index 90c653d9c3ec..405c184dafa6 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -1412,11 +1412,7 @@ static int __init imx6_pcie_probe(struct platform_device *pdev)
* reserved ddr memory after write the ddr_test_region
* content to rc.
*/
- if (is_imx7d_pcie(imx6_pcie))
- pcie_arb_base_addr = ioremap_nocache(pp->mem_base,
- test_region_size);
- else
- pcie_arb_base_addr = ioremap_cache(pp->mem_base,
+ pcie_arb_base_addr = ioremap_nocache(pp->mem_base,
test_region_size);
if (!pcie_arb_base_addr) {