]> git.sur5r.net Git - u-boot/commitdiff
* Made sure the code which disables prefetch for PCI devices
authorMatthew McClintock <msm@freescale.com>
Wed, 28 Jun 2006 15:44:23 +0000 (10:44 -0500)
committerMatthew McClintock <msm@freescale.com>
Wed, 28 Jun 2006 15:44:23 +0000 (10:44 -0500)
  sets the size of the prefetch region to 0
  Patch by Andy Fleming on 17-Mar-2006

Signed-off-by: Andy Fleming <afleming@freescale.com>
drivers/pci_auto.c

index 15f74328f0a6a011c58cd425c56cb3a561dd1c98..8fde3301e537fe74a8de7f1823015725d05a0389 100644 (file)
@@ -186,7 +186,7 @@ static void pciauto_prescan_setup_bridge(struct pci_controller *hose,
        } else {
                /* We don't support prefetchable memory for now, so disable */
                pci_hose_write_config_word(hose, dev, PCI_PREF_MEMORY_BASE, 0x1000);
-               pci_hose_write_config_word(hose, dev, PCI_PREF_MEMORY_LIMIT, 0x1000);
+               pci_hose_write_config_word(hose, dev, PCI_PREF_MEMORY_LIMIT, 0x0);
        }
 
        if (pci_io) {