iowrite32(val, pci->dbi_base + PCIE_STRFMR1);
 }
 
-static void ls_pcie_disable_outbound_atus(struct ls_pcie *pcie)
-{
-       int i;
-
-       for (i = 0; i < PCIE_IATU_NUM; i++)
-               dw_pcie_disable_atu(pcie->pci, i, DW_PCIE_REGION_OUTBOUND);
-}
-
 static int ls1021_pcie_link_up(struct dw_pcie *pci)
 {
        u32 state;
        struct dw_pcie *pci = to_dw_pcie_from_pp(pp);
        struct ls_pcie *pcie = to_ls_pcie(pci);
 
-       /*
-        * Disable outbound windows configured by the bootloader to avoid
-        * one transaction hitting multiple outbound windows.
-        * dw_pcie_setup_rc() will reconfigure the outbound windows.
-        */
-       ls_pcie_disable_outbound_atus(pcie);
        ls_pcie_fix_error_response(pcie);
 
        dw_pcie_dbi_ro_wr_en(pci);
 
 
 void dw_pcie_setup_rc(struct pcie_port *pp)
 {
+       int i;
        u32 val, ctrl, num_ctrls;
        struct dw_pcie *pci = to_dw_pcie_from_pp(pp);
 
                PCI_COMMAND_MASTER | PCI_COMMAND_SERR;
        dw_pcie_writel_dbi(pci, PCI_COMMAND, val);
 
+       /* Ensure all outbound windows are disabled so there are multiple matches */
+       for (i = 0; i < pci->num_viewport; i++)
+               dw_pcie_disable_atu(pci, i, DW_PCIE_REGION_OUTBOUND);
+
        /*
         * If the platform provides its own child bus config accesses, it means
         * the platform uses its own address translation component rather than