From 5a164c8ca909f170354ea66835b8145c930b2807 Mon Sep 17 00:00:00 2001
From: Rafal Jaworowski <raj@pollux.(none)>
Date: Thu, 17 Nov 2005 00:26:18 +0100
Subject: [PATCH] Minor changes to init flags in TQM834x PCI.

---
 CHANGELOG           | 2 ++
 board/tqm834x/pci.c | 6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

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;
-- 
GitLab