From d9011f9b75561a0bd9254934c2bb2bc799d4f645 Mon Sep 17 00:00:00 2001
From: Peter Tyser <ptyser@xes-inc.com>
Date: Tue, 23 Dec 2008 16:32:01 -0600
Subject: [PATCH] 85xx: Enable inbound PCI config cycles for X-ES boards
 cleanup

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---
 board/xes/common/fsl_85xx_pci.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/xes/common/fsl_85xx_pci.c b/board/xes/common/fsl_85xx_pci.c
index cd65a7341e6..9673a02b5ba 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);
-- 
GitLab