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>
This commit is contained in:
Richard Zhu 2015-11-02 11:41:02 +08:00 committed by Jason Liu
parent 62373f2295
commit f8f3e09407

View file

@ -1387,11 +1387,7 @@ static int __init imx6_pcie_probe(struct platform_device *pdev)
* reserved ddr memory after write the ddr_test_region
* content to rc.
*/
if (imx6_pcie->variant == IMX7D)
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) {