]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "Fix MPC8544DS PCIe3 scsi."
authorEd Swarthout <Ed.Swarthout@freescale.com>
Thu, 30 Aug 2007 07:26:17 +0000 (02:26 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 30 Aug 2007 07:33:12 +0000 (09:33 +0200)
This reverts commit 9468e680.
Commit 16e23c3f5da removing allocation of PCSRBAR is sufficient.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
drivers/fsl_pci_init.c

index a4ce458a5ab90e9233f1baa8d9eeeb3865c27de9..3a13eea1f2b56da225f229b9816498164cc0738c 100644 (file)
@@ -54,7 +54,6 @@ fsl_pci_init(struct pci_controller *hose)
        u8 temp8;
        int r;
        int bridge;
-       unsigned long bus_lower_temp;
        volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *) hose->cfg_addr;
        pci_dev_t dev = PCI_BDF(busno,0,0);
 
@@ -135,10 +134,9 @@ fsl_pci_init(struct pci_controller *hose)
         * but do not allocate any windows since any BAR found (such
         * as PCSRBAR) is not in this cpu's memory space.
         */
-       bus_lower_temp = hose->pci_mem->bus_lower;
+
        pciauto_setup_device(hose, dev, 0, hose->pci_mem,
                             hose->pci_prefetch, hose->pci_io);
-       hose->pci_mem->bus_lower = bus_lower_temp;
 
 #ifndef CONFIG_PCI_NOSCAN
        printf ("               Scanning PCI bus %02x\n", hose->current_busno);