From: Peter Tyser <ptyser@xes-inc.com>
Date: Tue, 23 Dec 2008 22:32:01 +0000 (-0600)
Subject: 85xx: Enable inbound PCI config cycles for X-ES boards cleanup
X-Git-Tag: v2025.01-rc5-pxa1908~21631^2
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=d9011f9b75561a0bd9254934c2bb2bc799d4f645;p=u-boot.git

85xx: Enable inbound PCI config cycles for X-ES boards cleanup

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---

diff --git a/board/xes/common/fsl_85xx_pci.c b/board/xes/common/fsl_85xx_pci.c
index cd65a7341e..9673a02b5b 100644
--- a/board/xes/common/fsl_85xx_pci.c
+++ b/board/xes/common/fsl_85xx_pci.c
@@ -179,6 +179,10 @@ void pci_init_board(void)
 
 		fsl_pci_init(hose);
 
+		/* Unlock inbound PCI configuration cycles */
+		if (!host)
+			fsl_pci_config_unlock(hose);
+
 		first_free_busno = hose->last_busno + 1;
 		printf("    PCI1 on bus %02x - %02x\n",
 			hose->first_busno, hose->last_busno);