From: Rafal Jaworowski <raj@pollux.(none)>
Date: Wed, 16 Nov 2005 23:26:18 +0000 (+0100)
Subject: Minor changes to init flags in TQM834x PCI.
X-Git-Tag: v2025.01-rc5-pxa1908~23142
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=5a164c8ca909f170354ea66835b8145c930b2807;p=u-boot.git

Minor changes to init flags in TQM834x PCI.
---

diff --git a/CHANGELOG b/CHANGELOG
index 6b9156ca23..dded6c1460 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.4:
 ======================================================================
 
+* Minor changes to init flags in TQM834x PCI.
+
 * Fix Bamboo DDR SDRAM initialization (problem with onboard SDRAM)
   Patch by Stefan Roese, 15 Nov 2005
 
diff --git a/board/tqm834x/pci.c b/board/tqm834x/pci.c
index 6111d034c4..590987cc8f 100644
--- a/board/tqm834x/pci.c
+++ b/board/tqm834x/pci.c
@@ -129,10 +129,10 @@ pci_init_board(void)
 	 * Configure PCI Local Access Windows
 	 */
 	pci_law[0].bar = CFG_PCI1_MEM_PHYS & LAWBAR_BAR;
-	pci_law[0].ar = LAWAR_EN | LAWAR_TRGT_IF_PCI1 | LAWAR_SIZE_512M;
+	pci_law[0].ar = LAWAR_EN | LAWAR_SIZE_512M;
 
 	pci_law[1].bar = CFG_PCI1_IO_PHYS & LAWBAR_BAR;
-	pci_law[1].ar = LAWAR_EN | LAWAR_TRGT_IF_PCI1 | LAWAR_SIZE_16M;
+	pci_law[1].ar = LAWAR_EN | LAWAR_SIZE_16M;
 
 	/*
 	 * Configure PCI Outbound Translation Windows
@@ -157,7 +157,7 @@ pci_init_board(void)
 	pci_ctrl[0].pitar1 = 0x0;
 	pci_ctrl[0].pibar1 = 0x0;
 	pci_ctrl[0].piebar1 = 0x0;
-	pci_ctrl[0].piwar1 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP | PIWAR_IWS_256M;
+	pci_ctrl[0].piwar1 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP | PIWAR_WTT_SNOOP | PIWAR_IWS_256M;
 
 	hose->first_busno = 0;
 	hose->last_busno = 0xff;