powerpc: Fix boot hang regression on MPC8544DS
commit1fce2d01dff65a76cd08c1b145acd9d3c20021d2
authorKumar Gala <galak@kernel.crashing.org>
Thu, 2 Oct 2008 05:58:49 +0000 (2 00:58 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 2 Oct 2008 05:58:49 +0000 (2 00:58 -0500)
tree53550014281fc03d365adfe5b7e78cbab157bac3
parent4a7703582836f55a1cbad0e2c1c6ebbee3f9b3a7
powerpc: Fix boot hang regression on MPC8544DS

Commit 00c5372d37a78990c1530184a9c792ee60a30067 caused the MPC8544DS
board to hang at boot.  The MPC8544DS is unique in that it doesn't use
the PCI slots on the ULI (unlike the MPC8572DS or MPC8610HPCD).  So
the dummy read at the end of the address space causes us to hang.

We can detect the situation by comparing the bridge's BARs versus
the root complex.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/fsl_uli1575.c