]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
83xx: PCI agent mode fixes for multi-board systems
authorIra Snyder <iws@ovro.caltech.edu>
Mon, 12 Jan 2009 21:32:26 +0000 (13:32 -0800)
committerKim Phillips <kim.phillips@freescale.com>
Thu, 22 Jan 2009 00:43:49 +0000 (18:43 -0600)
commit75f35209f702bb26826855ed8c8e4d108ab5f412
tree66794010594217252309d93411f7e4d6cda50789
parent455a46915b82896cc2070eb326d075555c2bc580
83xx: PCI agent mode fixes for multi-board systems

When running a system with 2 or more MPC8349EMDS boards in PCI agent mode,
the boards will lock up the PCI bus by scanning against each other.

The boards lock against each other by trying to access the PCI bus before
clearing their configuration lock bit. Both boards end up in a loop,
sending and receiving "Target Not Ready" messages forever.

When running in PCI agent mode, the scanning now takes place after the
boards have cleared their configuration lock bit.

Also, add a missing declaration to the mpc83xx.h header file, fixing a
build warning.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/pci.c
include/mpc83xx.h