[U-Boot-Users] [PATCH 1/7] Flat device tree support for 85xx ADS and CDS boards

Andy Fleming afleming at freescale.com
Wed Mar 22 23:36:18 CET 2006


* Made sure the code which disables prefetch for PCI devices
  sets the size of the prefetch region to 0
  Patch by Andy Fleming on 17-Mar-2006

Signed-off-by: Andy Fleming <afleming at freescale.com>

---

 drivers/pci_auto.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

fce2eb3a591a61d9a4a77c027b148d4acaeb3fc2
diff --git a/drivers/pci_auto.c b/drivers/pci_auto.c
index 15f7432..8fde330 100644
--- a/drivers/pci_auto.c
+++ b/drivers/pci_auto.c
@@ -186,7 +186,7 @@ static void pciauto_prescan_setup_bridge
 	} 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) {
-- 
1.2.4





More information about the U-Boot mailing list