1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-17 16:02:33 +02:00

mpc83xx: fix pcie configuration space read/write

This patch fix a problem for the pcie enumeration when the mpc83xx
pcie controller is connected with switch or we use both of the two
pcie controller.

Signed-off-by: Leo Liu <liucai.lfn@gmail.com>

fix codingstyle and compiler warning: 'pcie_priv' defined but not used

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
Leo Liu
2011-01-19 19:50:47 +08:00
committed by Kim Phillips
parent f69b980d10
commit 10fa8d7c70
2 changed files with 20 additions and 1 deletions

View File

@@ -420,6 +420,8 @@ struct pci_controller {
/* Used by ppc405 autoconfig*/
struct pci_region *pci_fb;
int current_busno;
void *priv_data;
};
extern __inline__ void pci_set_ops(struct pci_controller *hose,